Class WalkAnyElement

  • All Implemented Interfaces:
    java.lang.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 Detail

      • WalkAnyElement

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

      • 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:
        IWalker.walk(KElement, KElement)
      • setParent

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