public class WalkResource extends WalkJDFElement
jdfToXJDF
depth, log
Constructor and Description |
---|
WalkResource() |
Modifier and Type | Method and Description |
---|---|
protected 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,
String details,
String key,
String oldKey) |
protected void |
updateAttributes(JDFAttributeMap map) |
KElement |
walk(KElement jdf,
KElement xjdf)
the mother routine for walking....
|
getRefName, getResID, getSet, matchesRootID, moveToAmountPool, mustInline, setAmountPool, setBaseResource, setLeafAttributes, setResource, setSetAttributes, updateModule
getXJDFName, removeUnusedElements, safeRename, setAttributes, setParent
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
public KElement walk(KElement jdf, KElement xjdf)
BaseWalker
walk
in interface IWalker
walk
in class WalkJDFElement
jdf
- xjdf
- IWalker.walk(KElement, KElement)
protected void updateAttributes(JDFAttributeMap map)
updateAttributes
in class WalkJDFElement
WalkJDFElement.updateAttributes(org.cip4.jdflib.datatypes.JDFAttributeMap)
protected void moveAttribsToBase(KElement xjdf, KElement newResLeaf)
xjdf
- newResLeaf
- protected void moveToDetails(KElement eNew, String details, String key, String oldKey)
eNew
- details
- key
- oldKey
- protected String getClassName(JDFResource r)
r
- public boolean matches(KElement toCheck)
BaseWalker
matches
in class WalkJDFElement
toCheck
- BaseWalker.matches(org.cip4.jdflib.core.KElement)
protected boolean isProductResource(JDFResource linkTarget)
linkTarget
- Copyright © 2018. All rights reserved.