public static interface InclusionTraversal.Handler
Modifier and Type | Method and Description |
---|---|
Object |
processInclusion(Inclusion inclusion,
Node firstIncludedNode,
Node lastIncludedNode)
Invoked during the traversal of a document subtree for each
inclusion encountered.
|
Object processInclusion(Inclusion inclusion, Node firstIncludedNode, Node lastIncludedNode)
inclusion
- The currently visited inclusion.firstIncludedNode
- First included node.lastIncludedNode
- Last included node. Often the same node as
firstIncludedNode.null
to proceed; any other value to stop the
traversal. In the later case, the Object returned by this method is
the Object returned by InclusionTraversal.traverse(com.xmlmind.xml.doc.Tree, com.xmlmind.xml.load.InclusionTraversal.Handler)
.