org.cip4.jdflib.extensions
Class XJDF20.WalkContainer
java.lang.Object
org.cip4.jdflib.elementwalker.BaseWalker
org.cip4.jdflib.extensions.XJDF20.WalkElement
org.cip4.jdflib.extensions.XJDF20.WalkJDFElement
org.cip4.jdflib.extensions.XJDF20.WalkContainer
- All Implemented Interfaces:
- Comparable<BaseWalker>, IWalker
- Enclosing class:
- XJDF20
protected class XJDF20.WalkContainer
- extends XJDF20.WalkJDFElement
take a container/FileSpec(Ref) and convert it into a ContainerRef
- Author:
- Rainer Prosi, Heidelberger Druckmaschinen
|
Method Summary |
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)
the mother routine for walking.... |
XJDF20.WalkContainer
public XJDF20.WalkContainer()
matches
public boolean matches(KElement toCheck)
- Description copied from class:
BaseWalker
- this is the check whether or not to use this walker for a given element should be overwritten
- Overrides:
matches in class XJDF20.WalkJDFElement
- Parameters:
toCheck -
- Returns:
- true if it matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
walk
public KElement walk(KElement jdf,
KElement xjdf)
- Description copied from class:
BaseWalker
- the mother routine for walking....
- Specified by:
walk in interface IWalker- Overrides:
walk in class XJDF20.WalkJDFElement
- 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:
XJDF20.WalkJDFElement.walk(org.cip4.jdflib.core.KElement, org.cip4.jdflib.core.KElement)
Copyright © 2013. All Rights Reserved.