T - the type of the nodes processed by this visitorpublic interface ConfigurationNodeVisitor<T>
Definition of a Visitor interface for a configuration node structure.
 This is a typical application of the GoF Visitor pattern. An object
 implementing this interface can be used to traverse a hierarchical structure
 of nodes in various ways. The type of the nodes in the structure is generic;
 a corresponding NodeHandler implementation must be available for
 navigating through the structure.
 
 Note that the exact way the methods of a ConfigurationNodeVisitor are
 invoked is dependent on a specific traversal process.
 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
terminate()
Returns a flag whether the current visit process should be aborted. 
 | 
void | 
visitAfterChildren(T node,
                  NodeHandler<T> handler)
Visits the specified node after after its children - if existing - have
 been processed. 
 | 
void | 
visitBeforeChildren(T node,
                   NodeHandler<T> handler)
Visits the specified node before the children of this node - if existing
 - are processed. 
 | 
void visitBeforeChildren(T node, NodeHandler<T> handler)
node - the node to be visitedhandler - the NodeHandlervoid visitAfterChildren(T node, NodeHandler<T> handler)
node - the node to be visitedhandler - the NodeHandlerboolean terminate()
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.