|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor
org.apache.commons.configuration.HierarchicalConfiguration.DefinedVisitor
A specialized visitor that checks if a node is defined. "Defined" in this terms means that the node or at least one of its sub nodes is associated with a value.
Field Summary | |
private boolean |
defined
Stores the defined flag. |
Constructor Summary | |
(package private) |
HierarchicalConfiguration.DefinedVisitor()
|
Method Summary | |
boolean |
isDefined()
Returns the defined flag. |
boolean |
terminate()
Checks if iteration should be stopped. |
void |
visitBeforeChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the node. |
Methods inherited from class org.apache.commons.configuration.HierarchicalConfiguration.NodeVisitor |
visitAfterChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean defined
Constructor Detail |
HierarchicalConfiguration.DefinedVisitor()
Method Detail |
public boolean terminate()
terminate
in class HierarchicalConfiguration.NodeVisitor
public void visitBeforeChildren(HierarchicalConfiguration.Node node, ConfigurationKey key)
visitBeforeChildren
in class HierarchicalConfiguration.NodeVisitor
node
- the actual nodekey
- the key of this nodepublic boolean isDefined()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |