public class ConfigurationFactory.FileConfigurationFactory extends ConfigurationFactory.DigesterConfigurationFactory
Constructor and Description |
---|
ConfigurationFactory.FileConfigurationFactory(java.lang.Class clazz)
C'tor
|
Modifier and Type | Method and Description |
---|---|
protected FileConfiguration |
createConfiguration(org.xml.sax.Attributes attributes)
Creates the object, a
FileConfiguration . |
java.lang.Object |
createObject(org.xml.sax.Attributes attributes)
Gets called by the digester.
|
public ConfigurationFactory.FileConfigurationFactory(java.lang.Class clazz)
clazz
- The class which we should instantiate.public java.lang.Object createObject(org.xml.sax.Attributes attributes) throws java.lang.Exception
createObject
in interface org.apache.commons.digester.ObjectCreationFactory
createObject
in class ConfigurationFactory.DigesterConfigurationFactory
attributes
- the actual attributesjava.lang.Exception
- Couldn't instantiate the requested object.protected FileConfiguration createConfiguration(org.xml.sax.Attributes attributes) throws java.lang.Exception
FileConfiguration
.attributes
- the actual attributesjava.lang.Exception
- if the object could not be created