Package wt.visitor
Interface Walker
public interface Walker
This interface is responsible for controlling the overall traversal mechanism.
It includes a single traverse() method that provides multi-level navigation
of associations between Persistable objects. Depth-first traversal is
an example of an implementation. It uses a NodeExpander object to do
the actual expansion of nodes. It also is responsible for calling the
visit methods on the Visitor object as the structure is traversed.
If any visit method returns a boolean false value, then that node will
not be traversed any further.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
-
Method Details
-
traverse
Traverses the root node.
Supported API: true- Parameters:
root-- Throws:
WTException
-