Modifier and Type | Class and Description |
---|---|
static interface |
InclusionTraversal.Handler
Interface implemented by an Object wishing to visit all the Inclusions
found in a document subtree.
|
Modifier and Type | Method and Description |
---|---|
static Object |
traverse(Tree tree,
InclusionTraversal.Handler handler)
Traverse specified document subtree, invoking specified handler for
each found inclusion.
|
public static Object traverse(Tree tree, InclusionTraversal.Handler handler)
tree
- Document subtree to be traversed.handler
- Invoked each time an inclusion is found.null
Object returned by handler (this
has the effect to stop the traversal); otherwise null
.