public class WalkElement extends BaseWalker
Modifier and Type | Field and Description |
---|---|
protected JDFToXJDF |
jdfToXJDF |
depth, log
Constructor and Description |
---|
WalkElement() |
Modifier and Type | Method and Description |
---|---|
protected String |
getXJDFName(KElement jdf)
the new name
|
protected void |
removeUnusedElements(KElement jdf)
zapp unused elements
|
protected KElement |
safeRename(KElement original,
String newName,
boolean allLeaves) |
protected void |
setAttributes(KElement jdf,
KElement eNew) |
void |
setParent(JDFToXJDF parent)
fills this into the factory
|
protected void |
updateAttributes(JDFAttributeMap map) |
KElement |
walk(KElement jdf,
KElement xjdf)
the mother routine for walking....
|
compareTo, finalizeWalk, getDepth, getElementNames, matches, prepareWalk, toString
protected JDFToXJDF jdfToXJDF
public void setParent(JDFToXJDF parent)
parent
- public KElement walk(KElement jdf, KElement xjdf)
BaseWalker
walk
in interface IWalker
walk
in class BaseWalker
xjdf
- jdf
- the element to walkIWalker.walk(KElement, KElement)
protected void updateAttributes(JDFAttributeMap map)
map
- protected void removeUnusedElements(KElement jdf)
jdf
- Copyright © 2018. All rights reserved.