|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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| Method Summary | |
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. |
| Method Detail |
public void visitBeforeChildren(ConfigurationNode node)
node - the node to be visitedpublic void visitAfterChildren(ConfigurationNode node)
node - the node to be visitedpublic boolean terminate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||