org.cip4.jdflib.extensions
Class XJDF20.WalkJDFElement
java.lang.Object
org.cip4.jdflib.elementwalker.BaseWalker
org.cip4.jdflib.extensions.XJDF20.WalkElement
org.cip4.jdflib.extensions.XJDF20.WalkJDFElement
- All Implemented Interfaces:
- Comparable<BaseWalker>, IWalker
- Direct Known Subclasses:
- XJDF20.WalkAudit, XJDF20.WalkAuditPool, XJDF20.WalkContainer, XJDF20.WalkDependencies, XJDF20.WalkIgnore, XJDF20.WalkInlineAllElement, XJDF20.WalkJDF, XJDF20.WalkJMF, XJDF20.WalkMessage, XJDF20.WalkProduct, XJDF20.WalkRefElement, XJDF20.WalkResLink, XJDF20.WalkResLinkPool, XJDF20.WalkResource, XJDF20.WalkResourceInfo, XJDF20.WalkSeparationList, XJDF20.WalkSeparationSpec, XJDF20.WalkSkip, XJDF20.WalkSpan
- Enclosing class:
- XJDF20
public class XJDF20.WalkJDFElement
- extends XJDF20.WalkElement
- Author:
- Rainer Prosi, Heidelberger Druckmaschinen walker for the various resource sets
XJDF20.WalkJDFElement
public XJDF20.WalkJDFElement()
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.WalkElement
- Parameters:
jdf - xjdf -
- Returns:
- the created resource
- See Also:
IWalker.walk(KElement, KElement)
getRefName
protected String getRefName(JDFRefElement re)
- get the name for the attribute to become a reference - may add a "Refs" rather than ref for
- Parameters:
re - the refelement to name
- Returns:
- the name
mustInline
protected boolean mustInline(JDFRefElement re)
- Parameters:
re -
- Returns:
- true if must inline re
mustInline
protected boolean mustInline(String refLocalName)
- Parameters:
refLocalName -
- Returns:
- true if must inline refLocalName
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 BaseWalker
- Parameters:
toCheck -
- Returns:
- true if it matches
- See Also:
BaseWalker.matches(org.cip4.jdflib.core.KElement)
removeUnused
protected void removeUnused(KElement newRootP)
- Overrides:
removeUnused in class XJDF20.WalkElement
- Parameters:
newRootP - - See Also:
XJDF20.WalkElement.removeUnused(org.cip4.jdflib.core.KElement)
Copyright © 2013. All Rights Reserved.