public class WalkSpan extends WalkJDFSubElement
jdfToXJDF
depth, log
Constructor and Description |
---|
WalkSpan() |
Modifier and Type | Method and Description |
---|---|
protected String |
getLocalName(JDFSpanBase span) |
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 jdf,
KElement xjdf)
depending on the value of bSpanAsAttribute either
invert XXXSpan/@Datatype=foo to FooSpan/@Name=Datatype create an Attribute with the name of the span |
updateAttributes
getRefName, getResID, getSet, matchesRootID, moveToAmountPool, mustInline, setAmountPool, setBaseResource, setLeafAttributes, setResource, setSetAttributes, updateModule
getXJDFName, removeUnusedElements, safeRename, setAttributes, setParent
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
public KElement walk(KElement jdf, KElement xjdf)
walk
in interface IWalker
walk
in class WalkJDFElement
xjdf
- jdf
- the element to walkIWalker.walk(KElement, KElement)
protected String getLocalName(JDFSpanBase span)
public boolean matches(KElement toCheck)
BaseWalker
matches
in class WalkJDFSubElement
toCheck
- BaseWalker.matches(org.cip4.jdflib.core.KElement)
Copyright © 2018. All rights reserved.