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