public class ConfigurationNodeVisitorAdapter extends Object implements ConfigurationNodeVisitor
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 and Description |
---|
ConfigurationNodeVisitorAdapter() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.