Class WalkSpan
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.BaseWalker
-
- org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXElement
-
- org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkSpan
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
public class WalkSpan extends WalkXElement
-
-
Field Summary
-
Fields inherited from class org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXElement
xjdfToJDFImpl
-
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
-
-
Constructor Summary
Constructors Constructor Description WalkSpan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(KElement toCheck)this is the check whether or not to use this walker for a given element should be overwrittenKElementwalk(KElement e, KElement trackElem)invert XXXSpan/@Datatype=foo to FooSpan/@Name=Datatype-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXElement
cleanRef, cleanRefs, createSeparationList, fixAuthor, getNode, getRefName, setParent, updateAttributes, updateColor
-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
-
-
-
-
Method Detail
-
walk
public KElement walk(KElement e, KElement trackElem)
invert XXXSpan/@Datatype=foo to FooSpan/@Name=Datatype- Specified by:
walkin interfaceIWalker- Overrides:
walkin classWalkXElement- Parameters:
e-trackElem- a parallel element to e that may additionally be modified during the walk- Returns:
- true if must continue
- See Also:
IWalker.walk(KElement, KElement)
-
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 classBaseWalker- Parameters:
toCheck-- Returns:
- true if it matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
-
-