org.cip4.jdflib.extensions
Class XJDF20.WalkColorPoolRef

java.lang.Object
  extended by org.cip4.jdflib.elementwalker.BaseWalker
      extended by org.cip4.jdflib.extensions.XJDF20.WalkElement
          extended by org.cip4.jdflib.extensions.XJDF20.WalkJDFElement
              extended by org.cip4.jdflib.extensions.XJDF20.WalkRefElement
                  extended by org.cip4.jdflib.extensions.XJDF20.WalkColorPoolRef
All Implemented Interfaces:
Comparable<BaseWalker>, IWalker
Enclosing class:
XJDF20

protected class XJDF20.WalkColorPoolRef
extends XJDF20.WalkRefElement

Author:
Rainer Prosi, Heidelberger Druckmaschinen

Field Summary
 
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
 
Constructor Summary
XJDF20.WalkColorPoolRef()
           
 
Method Summary
protected  void makeRefAttribute(JDFRefElement re, KElement xjdf)
           
 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....
 
Methods inherited from class org.cip4.jdflib.extensions.XJDF20.WalkJDFElement
getRefName, mustInline, mustInline, removeUnused
 
Methods inherited from class org.cip4.jdflib.extensions.XJDF20.WalkElement
setAttributes
 
Methods inherited from class org.cip4.jdflib.elementwalker.BaseWalker
compareTo, finalizeWalk, getDepth, prepareWalk, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XJDF20.WalkColorPoolRef

public XJDF20.WalkColorPoolRef()
Method Detail

makeRefAttribute

protected void makeRefAttribute(JDFRefElement re,
                                KElement xjdf)
Overrides:
makeRefAttribute in class XJDF20.WalkRefElement
Parameters:
re -

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.WalkRefElement
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.WalkRefElement
Parameters:
xjdf -
jdf - the element to walk
Returns:
true if must continue
See Also:
IWalker.walk(KElement, KElement)


Copyright © 2013. All Rights Reserved.