|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.CombinedConfiguration.ConfigData
class CombinedConfiguration.ConfigData
An internal helper class for storing information about contained configurations.
| Field Summary | |
|---|---|
private java.lang.String |
at
Stores the at string. |
private java.util.Collection |
atPath
Stores the at information as path of nodes. |
private AbstractConfiguration |
configuration
Stores a reference to the configuration. |
private java.lang.String |
name
Stores the name under which the configuration is stored. |
private ConfigurationNode |
rootNode
Stores the root node for this child configuration. |
| Constructor Summary | |
|---|---|
CombinedConfiguration.ConfigData(AbstractConfiguration config,
java.lang.String n,
java.lang.String at)
Creates a new instance of ConfigData and initializes
it. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAt()
Returns the at position of this configuration. |
AbstractConfiguration |
getConfiguration()
Returns the stored configuration. |
java.lang.String |
getName()
Returns the configuration's name. |
ConfigurationNode |
getRootNode()
Returns the root node for this child configuration. |
ConfigurationNode |
getTransformedRoot()
Returns the transformed root node of the stored configuration. |
private java.util.Collection |
parseAt(java.lang.String at)
Splits the at path into its components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private AbstractConfiguration configuration
private java.lang.String name
private java.util.Collection atPath
private java.lang.String at
private ConfigurationNode rootNode
| Constructor Detail |
|---|
public CombinedConfiguration.ConfigData(AbstractConfiguration config,
java.lang.String n,
java.lang.String at)
ConfigData and initializes
it.
config - the configurationn - the nameat - the at position| Method Detail |
|---|
public AbstractConfiguration getConfiguration()
public java.lang.String getName()
public java.lang.String getAt()
public ConfigurationNode getRootNode()
public ConfigurationNode getTransformedRoot()
private java.util.Collection parseAt(java.lang.String at)
at - the at string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||