Class ConfigurationNodeVisitorAdapter
java.lang.Object
org.apache.commons.configuration.tree.ConfigurationNodeVisitorAdapter
- All Implemented Interfaces:
ConfigurationNodeVisitor
A simple adapter class that simplifies writing custom node visitor implementations.
This class provides dummy implementations for the methods defined in the
ConfigurationNodeVisitor
interface. Derived classes only need
to override the methods they really need.
- Version:
- $Id: ConfigurationNodeVisitorAdapter.java 1206464 2011-11-26 15:49:10Z oheger $
- Author:
- Commons Configuration team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Dummy implementation of this interface method.void
Empty dummy implementation of this interface method.void
Empty dummy implementation of this interface method.
-
Constructor Details
-
ConfigurationNodeVisitorAdapter
public ConfigurationNodeVisitorAdapter()
-
-
Method Details
-
visitBeforeChildren
Empty dummy implementation of this interface method.- Specified by:
visitBeforeChildren
in interfaceConfigurationNodeVisitor
- Parameters:
node
- the node
-
visitAfterChildren
Empty dummy implementation of this interface method.- Specified by:
visitAfterChildren
in interfaceConfigurationNodeVisitor
- Parameters:
node
- the node
-
terminate
Dummy implementation of this interface method. Returns always false.- Specified by:
terminate
in interfaceConfigurationNodeVisitor
- Returns:
- the terminate flag
-