public class WalkJDFElement extends WalkElement
jdfToXJDFdepth, log| Constructor and Description |
|---|
WalkJDFElement() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRefName(JDFRefElement re)
get the name for the attribute to become a reference - may add a "Refs" rather than ref for
|
boolean |
matches(KElement toCheck)
this is the check whether or not to use this walker for a given element should be overwritten
|
protected boolean |
matchesRootID(JDFNode node) |
protected boolean |
mustInline(JDFRefElement re) |
protected boolean |
mustInline(String refLocalName) |
protected void |
removeUnused(KElement newRootP) |
protected void |
setAmountPool(JDFElement rl,
KElement newLeaf,
JDFAttributeMap partMap) |
protected KElement |
setBaseResource(JDFElement rl,
JDFResource r,
KElement xjdfSet) |
protected void |
setLeafAttributes(JDFResource leaf,
JDFElement rl,
KElement newLeaf) |
protected VElement |
setResource(JDFElement rl,
JDFResource linkTarget,
KElement xRoot) |
protected void |
setSetAttributes(KElement resourceSet,
KElement rl,
JDFResource linkRoot)
set the attributes of the set based on the resource and resourcelink
|
KElement |
walk(KElement jdf,
KElement xjdf)
the mother routine for walking....
|
getXJDFName, setAttributes, setParentcompareTo, finalizeWalk, getDepth, prepareWalk, toStringpublic KElement walk(KElement jdf, KElement xjdf)
BaseWalkerwalk in interface IWalkerwalk in class WalkElementjdf - xjdf - IWalker.walk(KElement, KElement)protected boolean matchesRootID(JDFNode node)
node - protected String getRefName(JDFRefElement re)
re - the refelement to nameprotected boolean mustInline(JDFRefElement re)
re - protected boolean mustInline(String refLocalName)
refLocalName - public boolean matches(KElement toCheck)
BaseWalkermatches in class BaseWalkertoCheck - BaseWalker.matches(org.cip4.jdflib.core.KElement)protected void removeUnused(KElement newRootP)
removeUnused in class WalkElementnewRootP - org.cip4.jdflib.extensions.XJDF20.WalkElement#removeUnused(org.cip4.jdflib.core.KElement)protected VElement setResource(JDFElement rl, JDFResource linkTarget, KElement xRoot)
rl - the refelement or reslinklinkTarget - xRoot - protected KElement setBaseResource(JDFElement rl, JDFResource r, KElement xjdfSet)
rl - r - xjdfSet - protected void setLeafAttributes(JDFResource leaf, JDFElement rl, KElement newLeaf)
leaf - rl - newLeaf - protected void setAmountPool(JDFElement rl, KElement newLeaf, JDFAttributeMap partMap)
rl - newLeaf - partMap - protected void setSetAttributes(KElement resourceSet, KElement rl, JDFResource linkRoot)
resourceSet - rl - linkRoot - Copyright © 2015. All rights reserved.