org.apache.commons.configuration.tree
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.
Since: 1.3
See Also: 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. |
Returns: a flag if the visit process should be stopped
Parameters: node the node to be visited
Parameters: node the node to be visited