public class URLMapper extends BaseElementWalker implements IElementConverter
| Modifier and Type | Class and Description |
|---|---|
class |
URLMapper.WalkElement
the URL walker
|
class |
URLMapper.WalkURL
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
|
log, theFactory| Constructor and Description |
|---|
URLMapper(java.lang.String baseIn,
java.lang.String baseOut) |
| Modifier and Type | Method and Description |
|---|---|
KElement |
convert(KElement e)
generic converter that converts an element
|
boolean |
isWantLog() |
void |
setWantLog(boolean wantLog) |
java.lang.String |
toString() |
getFactorywalkTree, walkTreeKidsFirstpublic URLMapper(java.lang.String baseIn,
java.lang.String baseOut)
baseIn - the input (to be modified) base urlbaseOut - the output base urlpublic boolean isWantLog()
public void setWantLog(boolean wantLog)
wantLog - the wantLog to setpublic KElement convert(KElement e)
IElementConverterconvert in interface IElementConvertere - the element to convertIElementConverter.convert(org.cip4.jdflib.core.KElement)public java.lang.String toString()
toString in class ElementWalkerObject.toString()