Class WalkNodeInfo
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.BaseWalker
-
- org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
-
- org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkJDFElement
-
- org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkResource
-
- org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkNodeInfo
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
public class WalkNodeInfo extends WalkResource
-
-
Field Summary
-
Fields inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
jdfToXJDF
-
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
-
-
Constructor Summary
Constructors Constructor Description WalkNodeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VStringgetElementNames()retur the list of elements that will always be procesed by this walkerbooleanmatches(KElement toCheck)this is the check whether or not to use this walker for a given element should be overwrittenprotected voidmoveAttribsToBase(KElement xjdf, KElement newResLeaf)protected booleanmustInline(java.lang.String refLocalName)protected voidremoveUnusedElements(KElement jdf)zapp unused elementsprotected voidupdateAttributes(JDFAttributeMap map)KElementwalk(KElement jdf, KElement xjdf)the mother routine for walking....-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkResource
getClassName, isProductResource, moveToDetails
-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkJDFElement
checkAllLeaves, getLeaves, getRefName, getResID, getSet, matchesRootID, moveToAmountPool, setAmountPool, setBaseResource, setLeafAttributes, setResource, setSetAttributes, updateModule
-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
getXJDFName, safeRename, setAttributes, setParent
-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, prepareWalk, toString
-
-
-
-
Method Detail
-
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 classWalkResource- Parameters:
toCheck-- Returns:
- true if it matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
-
getElementNames
public VString getElementNames()
Description copied from class:BaseWalkerretur the list of elements that will always be procesed by this walker- Overrides:
getElementNamesin classBaseWalker- Returns:
- See Also:
BaseWalker.getElementNames()
-
updateAttributes
protected void updateAttributes(JDFAttributeMap map)
- Overrides:
updateAttributesin classWalkResource- See Also:
WalkJDFElement.updateAttributes(org.cip4.jdflib.datatypes.JDFAttributeMap)
-
removeUnusedElements
protected void removeUnusedElements(KElement jdf)
Description copied from class:WalkElementzapp unused elements- Overrides:
removeUnusedElementsin classWalkElement- See Also:
WalkElement.removeUnusedElements(org.cip4.jdflib.core.KElement)
-
walk
public KElement walk(KElement jdf, KElement xjdf)
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classWalkResource- Parameters:
jdf- the element to walkxjdf- a parallel element to e that may additionally be modified during the walk- Returns:
- the created resource
- See Also:
WalkResource.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)
-
mustInline
protected boolean mustInline(java.lang.String refLocalName)
- Overrides:
mustInlinein classWalkElement- Returns:
- true if must inline refLocalName
- See Also:
WalkElement.mustInline(java.lang.String)
-
moveAttribsToBase
protected void moveAttribsToBase(KElement xjdf, KElement newResLeaf)
- Overrides:
moveAttribsToBasein classWalkResource- See Also:
WalkResource.moveAttribsToBase(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)
-
-