Package 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.WalkIgnore,RemoveEmpty.WalkMessage,RemoveEmpty.WalkResource,RemoveEmpty.WalkResourceAudit,RemoveEmpty.WalkSpan,RemoveEmptyXJDF.WalkAuditResource,RemoveEmptyXJDF.WalkResourceSet,RemoveEmptyXJDF.WalkResourceXJDF
- Enclosing class:
- RemoveEmpty
the resource walker note the naming convention Walkxxx so that it is automagically instantiated by the super classes
-
Field Summary
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringArrayprotected booleanprotected booleanbooleanthis is the check whether or not to use this walker for a given element should be overwrittenthe mother routine for walking....protected booleanMethods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
-
Constructor Details
-
WalkElement
public WalkElement()fills this into the factory
-
-
Method Details
-
walk
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classBaseWalker- Parameters:
e1- - the element to tracktrackElem- - always null- Returns:
- the element to continue walking
- See Also:
-
hasChild
- Parameters:
e1-- Returns:
-
hasRequiredChild
-
walkAttributes
- Parameters:
e1-- Returns:
- true if something good was inside
-
getDummyAttributes
- Returns:
-
matches
Description copied from class:BaseWalkerthis is the check whether or not to use this walker for a given element should be overwritten- Overrides:
matchesin classBaseWalker- Parameters:
toCheck-- Returns:
- true if matches
- See Also:
-