public class WalkResource extends WalkJDFElement
jdfToXJDFdepth, log| Constructor and Description |
|---|
WalkResource() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getClassName(JDFResource r) |
protected boolean |
isProductResource(JDFResource linkTarget) |
boolean |
matches(KElement toCheck)
this is the check whether or not to use this walker for a given element should be overwritten
|
protected void |
moveAttribsToBase(KElement xjdf,
KElement newResLeaf) |
protected void |
moveToDetails(KElement eNew,
java.lang.String details,
java.lang.String key,
java.lang.String oldKey) |
protected void |
updateAttributes(JDFAttributeMap map) |
KElement |
walk(KElement jdf,
KElement xjdf)
the mother routine for walking....
|
checkAllLeaves, getLeaves, getRefName, getResID, getSet, matchesRootID, moveToAmountPool, mustInline, setAmountPool, setBaseResource, setLeafAttributes, setResource, setSetAttributes, updateModulegetXJDFName, removeUnusedElements, safeRename, setAttributes, setParentcompareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toStringpublic KElement walk(KElement jdf, KElement xjdf)
BaseWalkerwalk in interface IWalkerwalk in class WalkJDFElementjdf - xjdf - IWalker.walk(KElement, KElement)protected void updateAttributes(JDFAttributeMap map)
updateAttributes in class WalkJDFElementWalkJDFElement.updateAttributes(org.cip4.jdflib.datatypes.JDFAttributeMap)protected void moveAttribsToBase(KElement xjdf, KElement newResLeaf)
xjdf - newResLeaf - protected void moveToDetails(KElement eNew, java.lang.String details, java.lang.String key, java.lang.String oldKey)
eNew - details - key - oldKey - protected java.lang.String getClassName(JDFResource r)
r - public boolean matches(KElement toCheck)
BaseWalkermatches in class WalkJDFElementtoCheck - BaseWalker.matches(org.cip4.jdflib.core.KElement)protected boolean isProductResource(JDFResource linkTarget)
linkTarget -