|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DomUtil.IPerNode
Functor interface to handle tree walking.
Field Summary | |
---|---|
static java.lang.Object |
SKIP
When this object instance is returned by the before(NodeBase) method we SKIP the downwards traversal. |
Method Summary | |
---|---|
java.lang.Object |
after(NodeBase n)
Called when all child nodes of the specified node have been traversed. |
java.lang.Object |
before(NodeBase n)
Called when the node is first encountered in the tree. |
Field Detail |
---|
static final java.lang.Object SKIP
Method Detail |
---|
java.lang.Object before(NodeBase n) throws java.lang.Exception
after(NodeBase)
method
will not be called for this node. Returning any other value will stop the node traversal process
and return that value to the caller of DomUtil.walkTree(NodeBase, IPerNode)
.
n
-
java.lang.Exception
java.lang.Object after(NodeBase n) throws java.lang.Exception
DomUtil.walkTree(NodeBase, IPerNode)
.
n
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |