|
||||||||||
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.HierarchicalConfigurationXMLReader.SAXVisitor
class HierarchicalConfigurationXMLReader.SAXVisitor
A specialized visitor class for generating SAX events for a hierarchical node structure.
Field Summary | |
---|---|
private static java.lang.String |
ATTR_TYPE
Constant for the attribute type. |
Constructor Summary | |
---|---|
HierarchicalConfigurationXMLReader.SAXVisitor()
|
Method Summary | |
---|---|
protected org.xml.sax.Attributes |
fetchAttributes(HierarchicalConfiguration.Node node)
Returns an object with all attributes for the specified node. |
private boolean |
isAttributeNode(HierarchicalConfiguration.Node node)
Checks if the specified node is an attribute node. |
private java.lang.String |
nodeName(HierarchicalConfiguration.Node node)
Helper method for determining the name of a node. |
boolean |
terminate()
Checks if iteration should be terminated. |
void |
visitAfterChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node after its children have been processed. |
void |
visitBeforeChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String ATTR_TYPE
Constructor Detail |
---|
HierarchicalConfigurationXMLReader.SAXVisitor()
Method Detail |
---|
public void visitAfterChildren(HierarchicalConfiguration.Node node, ConfigurationKey key)
visitAfterChildren
in class HierarchicalConfiguration.NodeVisitor
node
- the actual nodekey
- the key of this nodepublic void visitBeforeChildren(HierarchicalConfiguration.Node node, ConfigurationKey key)
visitBeforeChildren
in class HierarchicalConfiguration.NodeVisitor
node
- the actual nodekey
- the key of this nodepublic boolean terminate()
terminate
in class HierarchicalConfiguration.NodeVisitor
protected org.xml.sax.Attributes fetchAttributes(HierarchicalConfiguration.Node node)
node
- the actual node
private java.lang.String nodeName(HierarchicalConfiguration.Node node)
node
- the node to be checked
private boolean isAttributeNode(HierarchicalConfiguration.Node node)
node
- the node to be checked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |