weblogic.apache.xalan.xpath.xml
Class TreeWalker
java.lang.Object
|
+--weblogic.apache.xalan.xpath.xml.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.
- Author:
- Copyright © 2001 BEA Systems, Inc. All Rights Reserved.
Constructor Summary
|
TreeWalker(org.xml.sax.DocumentHandler formatterListener)
Constructor. |
Method Summary
|
void |
traverse(org.w3c.dom.Node pos)
Perform a pre-order traversal non-recursive style. |
void |
traverse(org.w3c.dom.Node pos,
org.w3c.dom.Node top)
Perform a pre-order traversal non-recursive style. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TreeWalker
public TreeWalker(org.xml.sax.DocumentHandler formatterListener)
- Constructor.
- Parameters:
formatterListener
- The implemention of the
FormatterListener operation (toXMLString, digest, ...)
traverse
public void traverse(org.w3c.dom.Node pos)
throws org.xml.sax.SAXException
- Perform a pre-order traversal non-recursive style.
traverse
public void traverse(org.w3c.dom.Node pos,
org.w3c.dom.Node top)
throws org.xml.sax.SAXException
- Perform a pre-order traversal non-recursive style.
WebLogic classes and methods that do not appear in this reference are not public and are not supported.