com.lotus.xsl
Class TreeWalker
java.lang.Object
|
+--com.lotus.xsl.TreeWalker
- public class TreeWalker
- extends java.lang.Object
This class does a pre-order walk of the DOM tree, calling the FormatterListener
interface as it goes.
Constructor Summary |
TreeWalker(com.lotus.xsl.DocumentHandler formatterListener)
Constructor. |
Method Summary |
void |
traverse(com.lotus.xsl.Node pos)
Perform a pre-order traversal non-recursive style. |
void |
traverse(com.lotus.xsl.Node pos,
com.lotus.xsl.Node parent)
Perform a pre-order traversal non-recursive style. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TreeWalker
public TreeWalker(com.lotus.xsl.DocumentHandler formatterListener)
- Constructor.
- Parameters:
formatterListener
- The implemention of the
FormatterListener operation (toXMLString, digest, ...)
traverse
public void traverse(com.lotus.xsl.Node pos)
throws com.lotus.xsl.SAXException
- Perform a pre-order traversal non-recursive style.
traverse
public void traverse(com.lotus.xsl.Node pos,
com.lotus.xsl.Node parent)
throws com.lotus.xsl.SAXException
- Perform a pre-order traversal non-recursive style.