RecursivePreorderTreeTraversal public class RecursivePreorderTreeTraversal extends TreeTraversal RecursivePreorderTreeTraversal defines a specific document object tree traversal algorithm for use by the visitor design pattern. This algorithm visits the Parent before visiting its children. Traverses the document object tree at the specified node .
Exception Traverses the document object tree at the specified node .
Exception Thrown if the document hierarchy can not be visitted.