Class WalkContentResource
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.BaseWalker
-
- org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXElement
-
- org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXJDFResource
-
- org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkContentResource
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
public class WalkContentResource extends WalkXJDFResource
-
-
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 WalkContentResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KElementcreatePartition(JDFResource jdfRes, JDFAttributeMap partMap, JDFNode theNode)protected java.lang.StringgetJDFResName(SetHelper sh)protected JDFAttributeMapgetResMap(KElement xjdfRes)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)the mother routine for walking....-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXJDFResource
createNewResource, handleLinkParts, handleParts, hasPartition, removeImplicitParts
-
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
-
getResMap
protected JDFAttributeMap getResMap(KElement xjdfRes)
- Overrides:
getResMapin classWalkXJDFResource
-
getJDFResName
protected java.lang.String getJDFResName(SetHelper sh)
- Overrides:
getJDFResNamein classWalkXJDFResource- Parameters:
e-- Returns:
-
createPartition
protected KElement createPartition(JDFResource jdfRes, JDFAttributeMap partMap, JDFNode theNode)
-
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 classWalkXJDFResource- Parameters:
toCheck-- Returns:
- true if it matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
-
walk
public KElement walk(KElement e, KElement trackElem)
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classWalkXJDFResource- Parameters:
e- the element to walktrackElem- a parallel element to e that may additionally be modified during the walk- Returns:
- the created resource
- See Also:
WalkXJDFResource.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)
-
-