|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) @CreationRule @DigesterRule(reflectsRule=FactoryCreateRule.class, handledBy=FactoryCreateHandler.class) public @interface FactoryCreate
Classes annotated with FactoryCreate
will be bound with FactoryCreateRule
digester rule.
Digester.addFactoryCreate(String,org.apache.commons.digester3.ObjectCreationFactory,boolean)
Required Element Summary | |
---|---|
String |
pattern
The element matching pattern. |
Optional Element Summary | |
---|---|
String |
attributeName
Allows specify the attribute containing an override class name if it is present. |
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. |
String |
namespaceURI
The namespace URI for which this Rule is relevant, if any. |
Element Detail |
---|
public abstract String pattern
public abstract Class<? extends AbstractObjectCreationFactory<?>> factoryClass
public abstract String attributeName
public abstract String namespaceURI
public abstract boolean ignoreCreateExceptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |