Annotation Type FactoryCreate
-
@Documented @Retention(RUNTIME) @Target(TYPE) @CreationRule @DigesterRule(reflectsRule=FactoryCreateRule.class, handledBy=FactoryCreateHandler.class) public @interface FactoryCreate
Classes annotated withFactoryCreatewill be bound withFactoryCreateRuledigester rule.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringpatternThe element matching pattern.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringattributeNameAllows specify the attribute containing an override class name if it is present.java.lang.Class<? extends AbstractObjectCreationFactory<?>>factoryClassThe Java class of the object creation factory class.booleanignoreCreateExceptionsWhen true any exceptions thrown during object creation will be ignored.java.lang.StringnamespaceURIThe 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
-
-