public class WalkXJDFResource extends WalkXElement
xjdfToJDFImpldepth, log| Constructor and Description |
|---|
WalkXJDFResource() |
| Modifier and Type | Method and Description |
|---|---|
protected JDFResource |
createNewResource(JDFNode theNode,
java.lang.String name,
java.lang.String id,
KElement setRoot) |
protected KElement |
createPartition(JDFResource jdfRes,
JDFAttributeMap partMap,
JDFNode theNode) |
protected java.lang.String |
getJDFResName(SetHelper sh) |
protected JDFAttributeMap |
getResMap(KElement xjdfRes) |
protected void |
handleLinkParts(VJDFAttributeMap vParts,
JDFElement rl) |
protected void |
handleParts(JDFResource res,
VJDFAttributeMap vParts,
JDFElement rl) |
protected boolean |
hasPartition(JDFResource jdfRes,
JDFAttributeMap partMap,
JDFNode theNode) |
boolean |
matches(KElement toCheck)
this is the check whether or not to use this walker for a given element should be overwritten
|
protected JDFAttributeMap |
removeImplicitParts(JDFResource jdfRes,
JDFAttributeMap partMap) |
KElement |
walk(KElement xjdfRes,
KElement parent)
the mother routine for walking....
|
cleanRef, cleanRefs, createSeparationList, fixAuthor, getNode, getRefName, setParent, updateAttributes, updateColorcompareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toStringpublic KElement walk(KElement xjdfRes, KElement parent)
BaseWalkerwalk in interface IWalkerwalk in class WalkXElementxjdfRes - parent - a parallel element to e that may additionally be modified during the walkIWalker.walk(KElement, KElement)protected void handleParts(JDFResource res, VJDFAttributeMap vParts, JDFElement rl)
res - vParts - rl - protected void handleLinkParts(VJDFAttributeMap vParts, JDFElement rl)
vParts - rl - protected java.lang.String getJDFResName(SetHelper sh)
e - protected JDFResource createNewResource(JDFNode theNode, java.lang.String name, java.lang.String id, KElement setRoot)
theNode - name - id - setRoot - protected JDFAttributeMap getResMap(KElement xjdfRes)
protected boolean hasPartition(JDFResource jdfRes, JDFAttributeMap partMap, JDFNode theNode)
jdfRes - partMap - theNode - protected KElement createPartition(JDFResource jdfRes, JDFAttributeMap partMap, JDFNode theNode)
jdfRes - partMap - theNode - protected JDFAttributeMap removeImplicitParts(JDFResource jdfRes, JDFAttributeMap partMap)
public boolean matches(KElement toCheck)
BaseWalkermatches in class BaseWalkertoCheck - BaseWalker.matches(org.cip4.jdflib.core.KElement)