Annotation Type FactoryCreate
-
@Documented @Retention(RUNTIME) @Target(TYPE) @CreationRule @DigesterRule(reflectsRule=FactoryCreateRule.class, handledBy=FactoryCreateHandler.class) public @interface FactoryCreate
Classes annotated withFactoryCreate
will be bound withFactoryCreateRule
digester rule.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
pattern
The element matching pattern.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
attributeName
Allows specify the attribute containing an override class name if it is present.java.lang.Class<? extends AbstractObjectCreationFactory<?>>
factoryClass
The Java class of the object creation factory class.boolean
ignoreCreateExceptions
When true any exceptions thrown during object creation will be ignored.java.lang.String
namespaceURI
The namespace URI for which this Rule is relevant, if any.
-
-
-
-
factoryClass
java.lang.Class<? extends AbstractObjectCreationFactory<?>> factoryClass
The Java class of the object creation factory class.- Default:
- org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory.class
-
-