Class WalkXElement
- java.lang.Object
-
- org.cip4.jdflib.elementwalker.BaseWalker
-
- org.cip4.jdflib.extensions.xjdfwalker.xjdftojdf.WalkXElement
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
- Direct Known Subclasses:
WalkAddress,WalkAudit,WalkChildProduct,WalkColorantAlias,WalkComment,WalkContinue,WalkConvertingConfig,WalkCutBlock,WalkDeviceInfo,WalkDeviceNColor,WalkDisjointing,WalkDropItem,WalkGangSource,WalkGlue,WalkHolePattern,WalkIgnore,WalkInsert,WalkIntent,WalkIntentElement,WalkJMF,WalkJobPhase,WalkLooseBinding,WalkMessageService,WalkModifyQueueEntryParams,WalkModuleInfo,WalkPartAmount,WalkPipeParams,WalkPosition,WalkProduct,WalkProductList,WalkQueue,WalkQueueEntry,WalkQueueFilter,WalkRegisterMark,WalkRepeatDesc,WalkReplace,WalkResource,WalkResourceQuParams,WalkSet,WalkShapeTemplate,WalkSignatureCell,WalkSpan,WalkSubscriptionInfo,WalkSurfaceColor,WalkTypesafeMessage,WalkXJDF,WalkXJDFAuditAmount,WalkXJDFResource
public class WalkXElement extends BaseWalker
-
-
Field Summary
Fields Modifier and Type Field Description protected XJDFToJDFImplxjdfToJDFImpl-
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
-
-
Constructor Summary
Constructors Constructor Description WalkXElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcleanRef(KElement e, KElement trackElem, java.lang.String val, java.lang.String values)protected voidcleanRefs(KElement e, KElement trackElem)protected JDFSeparationListcreateSeparationList(KElement rPart, java.lang.String elem)make a separationlist from an attributeprotected voidfixAuthor(KElement e)protected JDFNodegetNode(KElement xjdfRes, KElement jdfNode)protected java.lang.StringgetRefName(java.lang.String val)voidsetParent(XJDFToJDFImpl xjdftojdf)fills this into the factoryprotected voidupdateAttributes(KElement elem)protected java.lang.StringupdateColor(java.lang.String xjdfcolor)KElementwalk(KElement e, KElement trackElem)the mother routine for walking....-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, matches, prepareWalk, toString
-
-
-
-
Field Detail
-
xjdfToJDFImpl
protected XJDFToJDFImpl xjdfToJDFImpl
-
-
Method Detail
-
setParent
public void setParent(XJDFToJDFImpl xjdftojdf)
fills this into the factory- Parameters:
xjdftojdf-
-
walk
public KElement walk(KElement e, KElement trackElem)
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classBaseWalker- Parameters:
e-trackElem- a parallel element to e that may additionally be modified during the walk- Returns:
- element to continue with if must continue
- See Also:
IWalker.walk(KElement, KElement)
-
updateAttributes
protected void updateAttributes(KElement elem)
- Parameters:
elem-
-
updateColor
protected java.lang.String updateColor(java.lang.String xjdfcolor)
-
getRefName
protected java.lang.String getRefName(java.lang.String val)
- Parameters:
val-- Returns:
-
createSeparationList
protected JDFSeparationList createSeparationList(KElement rPart, java.lang.String elem)
make a separationlist from an attribute- Parameters:
rPart-elem- the separation list attribute / element- Returns:
-
getNode
protected JDFNode getNode(KElement xjdfRes, KElement jdfNode)
- Parameters:
xjdfRes-jdfNode-- Returns:
-
cleanRef
protected void cleanRef(KElement e, KElement trackElem, java.lang.String val, java.lang.String values)
-
fixAuthor
protected void fixAuthor(KElement e)
- Parameters:
e-
-
-