ConfigurationNodeVisitorAdapterpublic interface ConfigurationNodeVisitor
Definition of a Visitor interface for a configuration node structure.
The ConfigurationNode interface defines a visit(),
which simplifies traversal of a complex node hierarchy. A configuration node
implementation must provide a way of visiting all nodes in the current
hierarchy. This is a typical application of the GoF Visitor
pattern.
ConfigurationNode| Modifier and Type | Method | Description |
|---|---|---|
boolean |
terminate() |
Returns a flag whether the actual visit process should be aborted.
|
void |
visitAfterChildren(ConfigurationNode node) |
Visits the specified node.
|
void |
visitBeforeChildren(ConfigurationNode node) |
Visits the specified node.
|
void visitBeforeChildren(ConfigurationNode node)
node - the node to be visitedvoid visitAfterChildren(ConfigurationNode node)
node - the node to be visitedboolean terminate()