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