|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.configuration.tree.ConfigurationNodeVisitorAdapter
A simple adapter class that simplyfies 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.
Constructor Summary | |
ConfigurationNodeVisitorAdapter()
|
Method Summary | |
boolean |
terminate()
Dummy implementation of this interface method. |
void |
visitAfterChildren(ConfigurationNode node)
Empty dummy implementation of this interface method. |
void |
visitBeforeChildren(ConfigurationNode node)
Empty dummy implementation of this interface method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigurationNodeVisitorAdapter()
Method Detail |
public void visitBeforeChildren(ConfigurationNode node)
visitBeforeChildren
in interface ConfigurationNodeVisitor
node
- the nodepublic void visitAfterChildren(ConfigurationNode node)
visitAfterChildren
in interface ConfigurationNodeVisitor
node
- the nodepublic boolean terminate()
terminate
in interface ConfigurationNodeVisitor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |