Package org.cip4.jdflib.elementwalker
Class URLMapper
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.ElementWalker
-
- org.cip4.jdflib.elementwalker.BaseElementWalker
-
- org.cip4.jdflib.elementwalker.URLMapper
-
- All Implemented Interfaces:
IElementConverter
public class URLMapper extends BaseElementWalker implements IElementConverter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classURLMapper.WalkElementthe URL walkerclassURLMapper.WalkURLthe resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
-
Field Summary
-
Fields inherited from class org.cip4.jdflib.elementwalker.ElementWalker
theFactory
-
-
Constructor Summary
Constructors Constructor Description URLMapper(java.lang.String baseIn, java.lang.String baseOut)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KElementconvert(KElement e)generic converter that converts an elementbooleanisWantLog()voidsetWantLog(boolean wantLog)java.lang.StringtoString()-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseElementWalker
getFactory
-
Methods inherited from class org.cip4.jdflib.elementwalker.ElementWalker
walkTree, walkTreeKidsFirst
-
-
-
-
Method Detail
-
isWantLog
public boolean isWantLog()
- Returns:
- the wantLog
-
setWantLog
public void setWantLog(boolean wantLog)
- Parameters:
wantLog- the wantLog to set
-
convert
public KElement convert(KElement e)
Description copied from interface:IElementConvertergeneric converter that converts an element- Specified by:
convertin interfaceIElementConverter- Parameters:
e- the element to convert- Returns:
- the converted element
- See Also:
IElementConverter.convert(org.cip4.jdflib.core.KElement)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classElementWalker- See Also:
Object.toString()
-
-