class HierarchicalConfigurationXMLReader.SAXVisitor extends HierarchicalConfiguration.NodeVisitor
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
ATTR_TYPE
Constant for the attribute type.
|
Constructor and Description |
---|
HierarchicalConfigurationXMLReader.SAXVisitor() |
Modifier and Type | Method and Description |
---|---|
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.
|
private static final java.lang.String ATTR_TYPE
HierarchicalConfigurationXMLReader.SAXVisitor()
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 nodeprivate java.lang.String nodeName(HierarchicalConfiguration.Node node)
node
- the node to be checkedprivate boolean isAttributeNode(HierarchicalConfiguration.Node node)
node
- the node to be checked