Class WalkAnyElement
java.lang.Object
org.cip4.jdflib.elementwalker.BaseWalker
org.cip4.jdflib.elementwalker.fixversion.WalkAnyElement
- All Implemented Interfaces:
Comparable<BaseWalker>,IWalker
- Direct Known Subclasses:
WalkElement,WalkKElement
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 -
Method Summary
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, matches, prepareWalk, toString
-
Constructor Details
-
WalkAnyElement
public WalkAnyElement()fills this into the factory
-
-
Method Details
-
walk
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classBaseWalker- Parameters:
e- the element to walktrackElem- a parallel element to e that may additionally be modified during the walk- Returns:
- !=null if this element remains after walking,
null if it was deleted and therefore the walker should skip this and all its descendants
the element may either be trackElem or a converted element to continue with as trackElem - See Also:
-
setParent
fills this into the factory- Parameters:
fixVersion-
-