|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.digester3.binder.AbstractRulesModule org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
public abstract class FromAnnotationsRuleModule
RulesModule
implementation that allows loading rules from
annotated classes.
Constructor Summary | |
---|---|
FromAnnotationsRuleModule()
|
Method Summary | |
---|---|
protected void |
bindRulesFrom(Class<?> type)
Scan the input Class, looking for Digester rules expressed via annotations, and binds them. |
protected void |
configure()
Configures a RulesBinder via the exposed methods. |
protected abstract void |
configureRules()
Configures a RulesBinder via the exposed methods. |
protected void |
useAnnotationHandlerFactory(AnnotationHandlerFactory annotationHandlerFactory)
Allows users plug a different AnnotationHandlerFactory to create AnnotationHandler instances. |
protected void |
useDefaultAnnotationHandlerFactory()
Allows users to switch back to the default AnnotationHandlerFactory implementation. |
Methods inherited from class org.apache.commons.digester3.binder.AbstractRulesModule |
---|
addError, addError, configure, forPattern, install, rulesBinder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FromAnnotationsRuleModule()
Method Detail |
---|
protected final void configure()
RulesBinder
via the exposed methods.
configure
in class AbstractRulesModule
protected abstract void configureRules()
RulesBinder
via the exposed methods.
protected final void useAnnotationHandlerFactory(AnnotationHandlerFactory annotationHandlerFactory)
AnnotationHandlerFactory
to create AnnotationHandler
instances.
annotationHandlerFactory
- A custom AnnotationHandlerFactory
to create
AnnotationHandler
instancesprotected final void useDefaultAnnotationHandlerFactory()
AnnotationHandlerFactory
implementation.
protected final void bindRulesFrom(Class<?> type)
type
- the type has to be analyzedDigesterRule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |