Class FactoryCreate.DefaultObjectCreationFactory
java.lang.Object
org.apache.commons.digester3.AbstractObjectCreationFactory<Object>
org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory
- All Implemented Interfaces:
ObjectCreationFactory<Object>
- Enclosing class:
FactoryCreate
public static final class FactoryCreate.DefaultObjectCreationFactory
extends AbstractObjectCreationFactory<Object>
Dummy ObjectCreationFactory type - only for annotation value type purposes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateObject
(Attributes attributes) Factory method called byFactoryCreateRule
to supply an object based on the element's attributes.Methods inherited from class org.apache.commons.digester3.AbstractObjectCreationFactory
getDigester, setDigester
-
Constructor Details
-
DefaultObjectCreationFactory
public DefaultObjectCreationFactory()
-
-
Method Details
-
createObject
Factory method called byFactoryCreateRule
to supply an object based on the element's attributes.- Specified by:
createObject
in interfaceObjectCreationFactory<Object>
- Specified by:
createObject
in classAbstractObjectCreationFactory<Object>
- Parameters:
attributes
- the element's attributes- Returns:
- creates a new T instance
- Throws:
Exception
- any exception thrown will be propagated upwards
-