Class WalkElement
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.BaseWalker
-
- org.cip4.jdflib.elementwalker.fixversion.WalkElement
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
- Direct Known Subclasses:
WalkAncestor,WalkAssemblySection,WalkAudit,WalkComChannel,WalkComment,WalkContentMetaData,WalkGeneralID,WalkJDF,WalkJMFMessage,WalkKElement,WalkPageData,WalkPool,WalkProofItem,WalkResLink,WalkResource,WalkResourceQuParams,WalkSpanBase,WalkState
public class WalkElement extends BaseWalker
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
-
-
Field Summary
-
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
-
-
Constructor Summary
Constructors Constructor Description WalkElement()fills this into the factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfixSourceObjects(JDFElement el, java.lang.String key, java.lang.String value)booleanmatches(KElement toCheck)this is the check whether or not to use this walker for a given element should be overwrittenprotected voidprocessDeprecated(JDFElement el)voidsetParent(FixVersionImpl fixVersion)fills this into the factoryKElementwalk(KElement e1, KElement trackElem)the mother routine for walking....-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
-
-
-
-
Method Detail
-
setParent
public void setParent(FixVersionImpl fixVersion)
fills this into the factory- Parameters:
fixVersion-
-
walk
public KElement walk(KElement e1, KElement trackElem)
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classBaseWalker- Parameters:
e1- - the element to tracktrackElem- - always null- Returns:
- the element to continue walking
- See Also:
BaseWalker.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)
-
processDeprecated
protected void processDeprecated(JDFElement el)
-
fixSourceObjects
protected void fixSourceObjects(JDFElement el, java.lang.String key, java.lang.String value)
- Parameters:
el-key-value-
-
matches
public boolean matches(KElement toCheck)
Description copied from class:BaseWalkerthis is the check whether or not to use this walker for a given element should be overwritten- Overrides:
matchesin classBaseWalker- Parameters:
toCheck-- Returns:
- true if matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
-
-