Package | Description |
---|---|
org.apache.commons.configuration |
The Configuration main package.
|
org.apache.commons.configuration.plist |
Configuration classes supporting NeXT / OpenStep style configuration.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
XMLConfiguration.XMLNode
A specialized
Node class that is connected with an XML
element. |
Modifier and Type | Field and Description |
---|---|
private HierarchicalConfiguration.Node |
HierarchicalConfiguration.root
Stores the root node of this configuration.
|
Modifier and Type | Method and Description |
---|---|
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.createAddPath(ConfigurationKey.KeyIterator keyIt,
HierarchicalConfiguration.Node root)
Deprecated.
Adding new properties is now to a major part delegated to the
ExpressionEngine associated with this configuration instance.
This method will no longer be called. Developers who want to modify the
process of adding new properties should consider implementing their own
expression engine. |
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.createNode(java.lang.String name)
Creates a new
Node object with the specified name. |
protected HierarchicalConfiguration.Node |
SubnodeConfiguration.createNode(java.lang.String name)
Creates a new node.
|
protected HierarchicalConfiguration.Node |
XMLConfiguration.createNode(java.lang.String name)
Creates a new node object.
|
private HierarchicalConfiguration.Node |
ConfigurationFactory.ConfigurationBuilder.createRootNode(ConfigurationFactory.AdditionalConfigurationData cdata)
Creates a configuration root node for the specified configuration.
|
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.fetchAddNode(ConfigurationKey.KeyIterator keyIt,
HierarchicalConfiguration.Node startNode)
Deprecated.
Adding new properties is now to a major part delegated to the
ExpressionEngine associated with this configuration instance.
This method will no longer be called. Developers who want to modify the
process of adding new properties should consider implementing their own
expression engine. |
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.findLastPathNode(ConfigurationKey.KeyIterator keyIt,
HierarchicalConfiguration.Node node)
Deprecated.
Adding new properties is now to a major part delegated to the
ExpressionEngine associated with this configuration instance.
This method will no longer be called. Developers who want to modify the
process of adding new properties should consider implementing their own
expression engine. |
HierarchicalConfiguration.Node |
HierarchicalConfiguration.Node.getParent()
Returns the parent of this node.
|
HierarchicalConfiguration.Node |
HierarchicalConfiguration.getRoot()
Returns the root node of this hierarchical configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
HierarchicalConfiguration.Node.addChild(HierarchicalConfiguration.Node node)
Adds the given node to the children of this node.
|
protected void |
HierarchicalConfiguration.clearNode(HierarchicalConfiguration.Node node)
Deprecated.
Use the method
instead |
private void |
XMLConfiguration.constructHierarchy(HierarchicalConfiguration.Node node,
org.w3c.dom.Element element,
boolean elemRefs)
Helper method for building the internal storage hierarchy.
|
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.createAddPath(ConfigurationKey.KeyIterator keyIt,
HierarchicalConfiguration.Node root)
Deprecated.
Adding new properties is now to a major part delegated to the
ExpressionEngine associated with this configuration instance.
This method will no longer be called. Developers who want to modify the
process of adding new properties should consider implementing their own
expression engine. |
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.fetchAddNode(ConfigurationKey.KeyIterator keyIt,
HierarchicalConfiguration.Node startNode)
Deprecated.
Adding new properties is now to a major part delegated to the
ExpressionEngine associated with this configuration instance.
This method will no longer be called. Developers who want to modify the
process of adding new properties should consider implementing their own
expression engine. |
protected org.xml.sax.Attributes |
HierarchicalConfigurationXMLReader.SAXVisitor.fetchAttributes(HierarchicalConfiguration.Node node)
Returns an object with all attributes for the specified node.
|
protected HierarchicalConfiguration.Node |
HierarchicalConfiguration.findLastPathNode(ConfigurationKey.KeyIterator keyIt,
HierarchicalConfiguration.Node node)
Deprecated.
Adding new properties is now to a major part delegated to the
ExpressionEngine associated with this configuration instance.
This method will no longer be called. Developers who want to modify the
process of adding new properties should consider implementing their own
expression engine. |
protected void |
HierarchicalConfiguration.findPropertyNodes(ConfigurationKey.KeyIterator keyPart,
HierarchicalConfiguration.Node node,
java.util.Collection nodes)
Deprecated.
Property keys are now evaluated by the expression engine
associated with the configuration; this method will no longer be called.
If you want to modify the way properties are looked up, consider
implementing you own
ExpressionEngine implementation. |
private org.w3c.dom.Element |
XMLConfiguration.XMLBuilderVisitor.getElement(HierarchicalConfiguration.Node node)
Helper method for accessing the element of the specified node.
|
private void |
XMLConfiguration.handleDelimiters(HierarchicalConfiguration.Node parent,
HierarchicalConfiguration.Node child)
Deals with elements whose value is a list.
|
protected abstract java.lang.Object |
HierarchicalConfiguration.BuilderVisitor.insert(HierarchicalConfiguration.Node newNode,
HierarchicalConfiguration.Node parent,
HierarchicalConfiguration.Node sibling1,
HierarchicalConfiguration.Node sibling2)
Inserts a new node into the structure constructed by this builder.
|
protected java.lang.Object |
XMLConfiguration.XMLBuilderVisitor.insert(HierarchicalConfiguration.Node newNode,
HierarchicalConfiguration.Node parent,
HierarchicalConfiguration.Node sibling1,
HierarchicalConfiguration.Node sibling2)
Inserts a new node.
|
private boolean |
HierarchicalConfigurationXMLReader.SAXVisitor.isAttributeNode(HierarchicalConfiguration.Node node)
Checks if the specified node is an attribute node.
|
protected boolean |
HierarchicalConfiguration.nodeDefined(HierarchicalConfiguration.Node node)
Deprecated.
Use the method
instead. |
private java.lang.String |
HierarchicalConfigurationXMLReader.SAXVisitor.nodeName(HierarchicalConfiguration.Node node)
Helper method for determining the name of a node.
|
private void |
XMLConfiguration.processAttributes(HierarchicalConfiguration.Node node,
org.w3c.dom.Element element,
boolean elemRefs)
Helper method for constructing node objects for the attributes of the
given XML element.
|
void |
XMLConfiguration.XMLBuilderVisitor.processDocument(HierarchicalConfiguration.Node rootNode)
Processes the node hierarchy and adds new nodes to the document.
|
boolean |
HierarchicalConfiguration.Node.remove(HierarchicalConfiguration.Node child)
Removes the specified child from this node.
|
protected void |
HierarchicalConfiguration.removeNode(HierarchicalConfiguration.Node node)
Deprecated.
Use the method
instead. |
void |
HierarchicalConfiguration.Node.setParent(HierarchicalConfiguration.Node node)
Sets the parent of this node.
|
void |
HierarchicalConfiguration.setRoot(HierarchicalConfiguration.Node node)
Sets the root node of this hierarchical configuration.
|
private static void |
XMLConfiguration.XMLBuilderVisitor.updateAttribute(HierarchicalConfiguration.Node node,
org.w3c.dom.Element elem,
java.lang.String name,
char listDelimiter)
Helper method for updating the value of the specified node's
attribute with the given name.
|
(package private) static void |
XMLConfiguration.XMLBuilderVisitor.updateAttribute(HierarchicalConfiguration.Node node,
java.lang.String name,
char listDelimiter)
Updates the value of the specified attribute of the given node.
|
void |
HierarchicalConfiguration.NodeVisitor.visitAfterChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node after its children have been processed.
|
void |
HierarchicalConfigurationXMLReader.SAXVisitor.visitAfterChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node after its children have been processed.
|
void |
HierarchicalConfiguration.NodeVisitor.visitBeforeChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node.
|
void |
HierarchicalConfiguration.BuilderVisitor.visitBeforeChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node before its children have been traversed.
|
void |
HierarchicalConfigurationXMLReader.SAXVisitor.visitBeforeChildren(HierarchicalConfiguration.Node node,
ConfigurationKey key)
Visits the specified node.
|
Modifier and Type | Class and Description |
---|---|
static class |
XMLPropertyListConfiguration.ArrayNode
Container for array elements.
|
static class |
XMLPropertyListConfiguration.PListNode
Node extension with addXXX methods to parse the typed data passed by Digester.
|
Modifier and Type | Method and Description |
---|---|
HierarchicalConfiguration.Node |
PropertyListParser.Property() |
Modifier and Type | Method and Description |
---|---|
private void |
XMLPropertyListConfiguration.printNode(java.io.PrintWriter out,
int indentLevel,
HierarchicalConfiguration.Node node)
Append a node to the writer, indented according to a specific level.
|
private void |
PropertyListConfiguration.printNode(java.io.PrintWriter out,
int indentLevel,
HierarchicalConfiguration.Node node)
Append a node to the writer, indented according to a specific level.
|