Package | Description |
---|---|
org.apache.commons.configuration |
The Configuration main package.
|
org.apache.commons.configuration.beanutils |
In this package a
Configuration implementation can be found that
implements the DynaBean interface. |
org.apache.commons.configuration.plist |
Configuration classes supporting NeXT / OpenStep style configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHierarchicalFileConfiguration
Base class for implementing file based hierarchical configurations.
|
class |
CombinedConfiguration
A hierarchical composite configuration class.
|
class |
DefaultConfigurationBuilder
A factory class that creates a composite configuration from an XML based
configuration definition file.
|
class |
HierarchicalXMLConfiguration
Deprecated.
This class is deprecated. Use
XMLConfiguration
instead, which supports all features this class had offered before. |
class |
SubnodeConfiguration
A specialized hierarchical configuration class that wraps a single node of
its parent configuration.
|
class |
XMLConfiguration
A specialized hierarchical configuration class that is able to parse XML
documents.
|
Modifier and Type | Field and Description |
---|---|
private HierarchicalConfiguration |
HierarchicalConfigurationXMLReader.configuration
Stores the configuration object to be parsed.
|
private HierarchicalConfiguration |
SubnodeConfiguration.parent
Stores the parent configuration.
|
Modifier and Type | Method and Description |
---|---|
static HierarchicalConfiguration |
ConfigurationUtils.convertToHierarchical(Configuration conf)
Converts the passed in configuration to a hierarchical one.
|
HierarchicalConfiguration |
HierarchicalConfigurationXMLReader.getConfiguration()
Returns the configuration object to be parsed.
|
HierarchicalConfiguration |
SubnodeConfiguration.getParent()
Returns the parent configuration of this subnode configuration.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SubnodeConfiguration.initFromParent(HierarchicalConfiguration parentConfig)
Initializes this subnode configuration from the given parent
configuration.
|
void |
HierarchicalConfigurationXMLReader.setConfiguration(HierarchicalConfiguration config)
Sets the configuration object to be parsed.
|
Constructor and Description |
---|
AbstractHierarchicalFileConfiguration(HierarchicalConfiguration c)
Creates a new instance of
AbstractHierarchicalFileConfiguration and copies the
content of the specified configuration into this object. |
DefaultConfigurationBuilder.ConfigurationDeclaration(DefaultConfigurationBuilder builder,
HierarchicalConfiguration config)
Creates a new instance of
ConfigurationDeclaration and
initializes it. |
HierarchicalConfiguration(HierarchicalConfiguration c)
Creates a new instance of
HierarchicalConfiguration and
copies all data contained in the specified configuration into the new
one. |
HierarchicalConfigurationXMLReader(HierarchicalConfiguration config)
Creates a new instance of
HierarchicalConfigurationXMLReader and sets the
configuration to be parsed. |
SubnodeConfiguration(HierarchicalConfiguration parent,
ConfigurationNode root)
Creates a new instance of
SubnodeConfiguration and
initializes it with the parent configuration and the new root node. |
XMLConfiguration(HierarchicalConfiguration c)
Creates a new instance of
XMLConfiguration and copies the
content of the passed in configuration into this object. |
Constructor and Description |
---|
XMLBeanDeclaration(HierarchicalConfiguration config)
Creates a new instance of
XMLBeanDeclaration and
initializes it from the given configuration. |
XMLBeanDeclaration(HierarchicalConfiguration config,
java.lang.String key)
Creates a new instance of
XMLBeanDeclaration and
initializes it from the given configuration. |
XMLBeanDeclaration(HierarchicalConfiguration config,
java.lang.String key,
boolean optional)
Creates a new instance of
XMLBeanDeclaration and
initializes it from the given configuration. |
Modifier and Type | Class and Description |
---|---|
class |
PropertyListConfiguration
NeXT / OpenStep style configuration.
|
class |
XMLPropertyListConfiguration
Mac OS X configuration file (http://www.apple.com/DTDs/PropertyList-1.0.dtd).
|
Constructor and Description |
---|
PropertyListConfiguration(HierarchicalConfiguration c)
Creates a new instance of
PropertyListConfiguration and
copies the content of the specified configuration into this object. |
XMLPropertyListConfiguration(HierarchicalConfiguration c)
Creates a new instance of
XMLPropertyListConfiguration and
copies the content of the specified configuration into this object. |