org.cip4.jdflib.elementwalker
Class RemoveEmpty.WalkElement
java.lang.Object
org.cip4.jdflib.elementwalker.BaseWalker
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
RemoveEmpty.WalkElement
public RemoveEmpty.WalkElement()
- fills this into the factory
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 tracktrackElem - - 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.