org.apache.commons.configuration
Class ConfigurationFactory.AdditionalConfigurationData

java.lang.Object
  extended by org.apache.commons.configuration.ConfigurationFactory.AdditionalConfigurationData
Enclosing class:
ConfigurationFactory

public static class ConfigurationFactory.AdditionalConfigurationData
extends java.lang.Object

A simple data class that holds all information about a configuration from the <additional> section.


Field Summary
private  java.lang.String at
          Stores the location of this configuration in the global tree.
private  Configuration configuration
          Stores the configuration object.
 
Constructor Summary
ConfigurationFactory.AdditionalConfigurationData()
           
 
Method Summary
 void addConfiguration(Configuration config)
          Sets the configuration object.
 java.lang.String getAt()
          Returns the value of the at attribute.
 Configuration getConfiguration()
          Returns the configuration object.
 void setAt(java.lang.String string)
          Sets the value of the at attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

private Configuration configuration
Stores the configuration object.


at

private java.lang.String at
Stores the location of this configuration in the global tree.

Constructor Detail

ConfigurationFactory.AdditionalConfigurationData

public ConfigurationFactory.AdditionalConfigurationData()
Method Detail

getAt

public java.lang.String getAt()
Returns the value of the at attribute.

Returns:
the at attribute

setAt

public void setAt(java.lang.String string)
Sets the value of the at attribute.

Parameters:
string - the attribute value

getConfiguration

public Configuration getConfiguration()
Returns the configuration object.

Returns:
the configuration

addConfiguration

public void addConfiguration(Configuration config)
Sets the configuration object. Note: Normally this method should be named setConfiguration(), but the name addConfiguration() is required by some of the digester rules.

Parameters:
config - the configuration to set