Package org.cip4.jdflib.elementwalker
Class RemoveEmpty.WalkResource
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.BaseWalker
-
- org.cip4.jdflib.elementwalker.RemoveEmpty.WalkElement
-
- org.cip4.jdflib.elementwalker.RemoveEmpty.WalkResource
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
- Direct Known Subclasses:
RemoveEmpty.WalkComChannel
- Enclosing class:
- RemoveEmpty
public class RemoveEmpty.WalkResource extends RemoveEmpty.WalkElement
zapp me
-
-
Field Summary
-
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
-
-
Constructor Summary
Constructors Constructor Description WalkResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringArraygetDummyAttributes()booleanmatches(KElement toCheck)this is the check whether or not to use this walker for a given element should be overwrittenKElementwalk(KElement e1, KElement trackElem)the mother routine for walking....-
Methods inherited from class org.cip4.jdflib.elementwalker.RemoveEmpty.WalkElement
hasChild, hasRequiredChild, walkAttributes
-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
-
-
-
-
Method Detail
-
getDummyAttributes
protected StringArray getDummyAttributes()
- Overrides:
getDummyAttributesin classRemoveEmpty.WalkElement- Returns:
- See Also:
RemoveEmpty.WalkElement.getDummyAttributes()
-
matches
public boolean matches(KElement toCheck)
Description copied from class:BaseWalkerthis is the check whether or not to use this walker for a given element should be overwritten- Overrides:
matchesin classRemoveEmpty.WalkElement- Parameters:
toCheck-- Returns:
- true if matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
-
walk
public KElement walk(KElement e1, KElement trackElem)
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classRemoveEmpty.WalkElement- Parameters:
e1- - the element to tracktrackElem- - always null- Returns:
- the element to continue walking
- See Also:
RemoveEmpty.WalkElement.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)
-
-