public class ConfigurationFactory.FileConfigurationFactory extends ConfigurationFactory.DigesterConfigurationFactory
Constructor and Description |
---|
ConfigurationFactory.FileConfigurationFactory(Class<?> clazz)
C'tor
|
Modifier and Type | Method and Description |
---|---|
protected FileConfiguration |
createConfiguration(Attributes attributes)
Creates the object, a
FileConfiguration . |
Object |
createObject(Attributes attributes)
Gets called by the digester.
|
public ConfigurationFactory.FileConfigurationFactory(Class<?> clazz)
clazz
- The class which we should instantiate.public Object createObject(Attributes attributes) throws Exception
createObject
in interface org.apache.commons.digester.ObjectCreationFactory
createObject
in class ConfigurationFactory.DigesterConfigurationFactory
attributes
- the actual attributesException
- Couldn't instantiate the requested object.protected FileConfiguration createConfiguration(Attributes attributes) throws Exception
FileConfiguration
.attributes
- the actual attributesException
- if the object could not be createdCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.