Class ConfigurationFactory.DigesterConfigurationFactory
java.lang.Object
org.apache.commons.digester.AbstractObjectCreationFactory
org.apache.commons.configuration.ConfigurationFactory.DigesterConfigurationFactory
- All Implemented Interfaces:
org.apache.commons.digester.ObjectCreationFactory
- Direct Known Subclasses:
ConfigurationFactory.FileConfigurationFactory
- Enclosing class:
ConfigurationFactory
public class ConfigurationFactory.DigesterConfigurationFactory
extends org.apache.commons.digester.AbstractObjectCreationFactory
A base class for digester factory classes. This base class maintains
a default class for the objects to be created.
There will be sub classes for specific configuration implementations.
- Version:
- $Id: ConfigurationFactory.java 1209685 2011-12-02 20:47:44Z oheger $
- Author:
- Eric Pugh, Henning P. Schmiedehausen
-
Field Summary
Fields inherited from class org.apache.commons.digester.AbstractObjectCreationFactory
digester -
Constructor Summary
ConstructorsConstructorDescriptionDigesterConfigurationFactory(Class<?> clazz) Creates a new instance ofDigesterConfigurationFactory. -
Method Summary
Modifier and TypeMethodDescriptioncreateObject(Attributes attribs) Creates an instance of the specified class.Methods inherited from class org.apache.commons.digester.AbstractObjectCreationFactory
getDigester, setDigester
-
Constructor Details
-
DigesterConfigurationFactory
Creates a new instance ofDigesterConfigurationFactory.- Parameters:
clazz- the class which we should instantiate
-
-
Method Details
-
createObject
Creates an instance of the specified class.- Specified by:
createObjectin interfaceorg.apache.commons.digester.ObjectCreationFactory- Specified by:
createObjectin classorg.apache.commons.digester.AbstractObjectCreationFactory- Parameters:
attribs- the attributes (ignored)- Returns:
- the new object
- Throws:
Exception- if object creation fails
-