org.cip4.jdflib.elementwalker
Class RemoveEmpty.WalkElement

java.lang.Object
  extended by org.cip4.jdflib.elementwalker.BaseWalker
      extended by org.cip4.jdflib.elementwalker.RemoveEmpty.WalkElement
All Implemented Interfaces:
Comparable<BaseWalker>, IWalker
Direct Known Subclasses:
RemoveEmpty.WalkComment, RemoveEmpty.WalkGeneralID, RemoveEmpty.WalkResource
Enclosing class:
RemoveEmpty

public class RemoveEmpty.WalkElement
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
RemoveEmpty.WalkElement()
          fills this into the factory
 
Method Summary
protected  VString getDummyAttributes()
           
 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 e1, 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

RemoveEmpty.WalkElement

public RemoveEmpty.WalkElement()
fills this into the factory

Method Detail

walk

public KElement walk(KElement e1,
                     KElement trackElem)
Description copied from class: BaseWalker
the mother routine for walking....

Specified by:
walk in interface IWalker
Overrides:
walk in class BaseWalker
Parameters:
e1 - - the element to track
trackElem - - always null
Returns:
the element to continue walking
See Also:
BaseWalker.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)

getDummyAttributes

protected VString getDummyAttributes()
Returns:

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.