|
XML for Java Compatibility API 2.0.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.xml.parser.TreeTraversal
TreeTraversal defines the document object tree traversal mechanisms for used by the visitor design pattern.
NonRecursivePreorderTreeTraversal| Constructor Summary | |
TreeTraversal(Visitor visitor)
Constructor. |
|
| Method Summary | |
Visitor |
getVisitor()
Returns the Visitor operation currently active in this tree traversal. |
abstract void |
traverse(org.w3c.dom.Node startNode)
Traverses the document object tree at the specified startNode. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TreeTraversal(Visitor visitor)
visitor - The implemention of the Visitor operation (toXMLString, digest, ...)Visitor| Method Detail |
public Visitor getVisitor()
Visitor
public abstract void traverse(org.w3c.dom.Node startNode)
throws java.lang.Exception
startNode - The starting point to begin traversing the document object tree.NonRecursivePreorderTreeTraversal.traverse(org.w3c.dom.Node)
|
XML for Java Compatibility API 2.0.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||