org.apache.commons.configuration

Class ConfigurationFactory.AdditionalConfigurationData

public static class ConfigurationFactory.AdditionalConfigurationData extends Object

A simple data class that holds all information about a configuration from the <additional> section.
Field Summary
Stringat
Stores the location of this configuration in the global tree.
Configurationconfiguration
Stores the configuration object.
Method Summary
voidaddConfiguration(Configuration config)
Sets the configuration object.
StringgetAt()
Returns the value of the at attribute.
ConfigurationgetConfiguration()
Returns the configuration object.
voidsetAt(String string)
Sets the value of the at attribute.

Field Detail

at

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

configuration

private Configuration configuration
Stores the configuration object.

Method Detail

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

getAt

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

Returns: the at attribute

getConfiguration

public Configuration getConfiguration()
Returns the configuration object.

Returns: the configuration

setAt

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

Parameters: string the attribute value