org.apache.commons.configuration
public class ConfigurationFactory.FileConfigurationFactory extends ConfigurationFactory.DigesterConfigurationFactory
Constructor Summary | |
---|---|
FileConfigurationFactory(Class clazz)
C'tor
|
Method Summary | |
---|---|
protected FileConfiguration | createConfiguration(Attributes attributes)
Creates the object, a FileConfiguration .
|
Object | createObject(Attributes attributes)
Gets called by the digester.
|
Parameters: clazz The class which we should instantiate.
FileConfiguration
.
Parameters: attributes the actual attributes
Returns: the file configuration
Throws: Exception if the object could not be created
Parameters: attributes the actual attributes
Returns: the new object
Throws: Exception Couldn't instantiate the requested object.