org.cip4.jdflib.extensions
Class XJDF20.WalkDevcapElement

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.WalkDevcapElement
All Implemented Interfaces:
Comparable<BaseWalker>, IWalker
Direct Known Subclasses:
XJDF20.WalkDevCap, XJDF20.WalkEvaluation, XJDF20.WalkState
Enclosing class:
XJDF20

protected class XJDF20.WalkDevcapElement
extends XJDF20.WalkElement

Author:
Rainer Prosi, Heidelberger Druckmaschinen

Field Summary
 
Fields inherited from class org.cip4.jdflib.elementwalker.BaseWalker
depth, log
 
Constructor Summary
XJDF20.WalkDevcapElement()
           
 
Method Summary
protected  String getXPathRoot(String path, String old)
          TODO Please insert comment!
protected  VString getXPathVector(JDFElement dc, String name)
           
 boolean matches(KElement e)
          this is the check whether or not to use this walker for a given element should be overwritten
 String modifyXPath(String s)
           
 KElement walk(KElement e, KElement trackElem)
          the mother routine for walking....
 
Methods inherited from class org.cip4.jdflib.extensions.XJDF20.WalkElement
removeUnused, 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.WalkDevcapElement

public XJDF20.WalkDevcapElement()
Method Detail

walk

public KElement walk(KElement e,
                     KElement trackElem)
Description copied from class: BaseWalker
the mother routine for walking....

Specified by:
walk in interface IWalker
Overrides:
walk in class XJDF20.WalkElement
Parameters:
e -
trackElem - a parallel element to e that may additionally be modified during the walk
Returns:
the created resource
See Also:
IWalker.walk(KElement, KElement)

getXPathRoot

protected String getXPathRoot(String path,
                              String old)
TODO Please insert comment!

Parameters:
path -
old -
Returns:

getXPathVector

protected VString getXPathVector(JDFElement dc,
                                 String name)
Parameters:
dc -
name -
Returns:

modifyXPath

public String modifyXPath(String s)

matches

public boolean matches(KElement e)
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:
e - the element to check
Returns:
true if matches - must be true for base


Copyright © 2013. All Rights Reserved.