org.cip4.jdflib.elementwalker
Class ResourceIDFinder.WalkStop

java.lang.Object
  extended by org.cip4.jdflib.elementwalker.BaseWalker
      extended by org.cip4.jdflib.elementwalker.ResourceIDFinder.WalkStop
All Implemented Interfaces:
Comparable<BaseWalker>, IWalker
Direct Known Subclasses:
ResourceIDFinder.WalkContinue, ResourceIDFinder.WalkRes
Enclosing class:
ResourceIDFinder

public class ResourceIDFinder.WalkStop
extends BaseWalker

the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes

Author:
prosirai

Field Summary
 
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
 
Constructor Summary
ResourceIDFinder.WalkStop()
          fills this into the factory
 
Method Summary
 boolean matches(KElement toCheck)
          this is the check whether or not to use this walker for a given element should be overwritten
 KElement walk(KElement e, KElement trackElem)
          the mother routine for walking....
 
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, prepareWalk, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceIDFinder.WalkStop

public ResourceIDFinder.WalkStop()
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 -
trackElem -
Returns:
the element to continue walking
See Also:
BaseWalker.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)

matches

public boolean matches(KElement toCheck)
Description copied from class: BaseWalker
this is the check whether or not to use this walker for a given element should be overwritten

Overrides:
matches in class BaseWalker
Parameters:
toCheck -
Returns:
true if matches
See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)


Copyright © 2013. All Rights Reserved.