Class WalkResLink
- 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.WalkResLink
-
- All Implemented Interfaces:
java.lang.Comparable<BaseWalker>,IWalker
- Direct Known Subclasses:
WalkColorantControlLink,WalkColorIntentResLink,WalkColorPoolLink,WalkMediaLink,WalkPageListLink,WalkTransferCurvePoolLink
public class WalkResLink extends WalkJDFElement
-
-
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 WalkResLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JDFNodegetParentProduct(JDFNode parentNode)booleanmatches(KElement toCheck)this is the check whether or not to use this walker for a given element should be overwrittenprotected java.util.List<KElement>setResource(JDFElement rl, JDFResource linkTarget, KElement xRoot)KElementwalk(KElement jdf, KElement xjdf)the mother routine for walking....-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkJDFElement
checkAllLeaves, getLeaves, getRefName, getResID, getSet, matchesRootID, moveToAmountPool, setAmountPool, setBaseResource, setLeafAttributes, setSetAttributes, updateAttributes, updateModule
-
Methods inherited from class org.cip4.jdflib.extensions.xjdfwalker.jdftoxjdf.WalkElement
getXJDFName, mustInline, removeUnusedElements, safeRename, setAttributes, setParent
-
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, getElementNames, prepareWalk, toString
-
-
-
-
Method Detail
-
walk
public KElement walk(KElement jdf, KElement xjdf)
Description copied from class:BaseWalkerthe mother routine for walking....- Specified by:
walkin interfaceIWalker- Overrides:
walkin classWalkJDFElement- Parameters:
jdf-xjdf-- Returns:
- the created resource in this case just remove the pool
- 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 classWalkJDFElement- Parameters:
toCheck-- Returns:
- true if it matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
-
setResource
protected java.util.List<KElement> setResource(JDFElement rl, JDFResource linkTarget, KElement xRoot)
- Overrides:
setResourcein classWalkJDFElement- Parameters:
rl- the refelement or reslink- Returns:
- the vector of partitions
- See Also:
WalkJDFElement.setResource(org.cip4.jdflib.core.JDFElement, org.cip4.jdflib.resource.JDFResource, org.cip4.jdflib.core.KElement)
-
-