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

public class WalkAnyElement extends BaseWalker
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
  • Constructor Details

    • WalkAnyElement

      public WalkAnyElement()
      fills this into the factory
  • Method Details

    • walk

      public KElement walk(KElement e, KElement trackElem)
      Description copied from class: BaseWalker
      the mother routine for walking....
      Specified by:
      walk in interface IWalker
      Overrides:
      walk in class BaseWalker
      Parameters:
      e - the element to walk
      trackElem - 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

      public void setParent(FixVersionImpl fixVersion)
      fills this into the factory
      Parameters:
      fixVersion -