org.cip4.jdflib.elementwalker
Class RemoveEmpty.WalkComment

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

public class RemoveEmpty.WalkComment
extends RemoveEmpty.WalkElement

zapp me

Author:
prosirai

Field Summary
 
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
 
Constructor Summary
RemoveEmpty.WalkComment()
           
 
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.RemoveEmpty.WalkElement
getDummyAttributes
 
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.WalkComment

public RemoveEmpty.WalkComment()
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 RemoveEmpty.WalkElement
Parameters:
e - - 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)

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 RemoveEmpty.WalkElement
Parameters:
toCheck -
Returns:
true if matches
See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)


Copyright © 2013. All Rights Reserved.