Interface | Description |
---|---|
BottomNodeCallback |
A callback for the tree walker, which will be called as soon as a bottom node (a node without any children) is
reached.
|
EveryNodeCallback |
A callback for an
TreeWalker that allows to get notified on every visite of a node in the tree. |
NodeCallback |
Marks objects that can be passed into a tree walker, and which are called at a certain stages of the
walking-procedure.
|
SkipNodeAndSubTreesCallback |
If this type of callback is passed to the tree walker, then it is called on every node, before calling other
callbacks or even callbacks of children.
|
SkipStepDownCallback |
If this callback is passed into the tree walker, then it will be called any time, the walker moves from a parent node
to a child node.
|
StepUpCallback |
If a callback of this type is passed to a tree walker, then its single method is called each time the walker passes
from a child node to its parent node.
|
TreeWalker |
Provides a method to walk through a tree of
Node s. |
Class | Description |
---|---|
ParentAfterChildrenWalker |
Walks the tree in the order, that first all children are visited and afterwards the parent.
|
Trees |
Provides utility methods to walk through a tree of
Node s. |
Exception | Description |
---|---|
LoopDetectedException |
This exception will be thrown by the tree walker, if a loop in the tree might be found.
|
NoMatchingNodeFoundException |
Might be thrown, if the tree is searched for a certain type (for example, a node that can handle an exception) of
node and no corresponding node can be found.
|
PathDoesNotExistException |
This exception is thrown, if a path is searched from a child node to a parent node, but none can be found.
|