Class AbstractMethodHandler<A extends java.lang.annotation.Annotation>
- java.lang.Object
-
- org.apache.commons.digester3.annotations.handlers.AbstractMethodHandler<A>
-
- All Implemented Interfaces:
AnnotationHandler<A,java.lang.reflect.Method>
- Direct Known Subclasses:
SetNextHandler
,SetRootHandler
abstract class AbstractMethodHandler<A extends java.lang.annotation.Annotation> extends java.lang.Object implements AnnotationHandler<A,java.lang.reflect.Method>
- Since:
- 3.0
-
-
Field Summary
Fields Modifier and Type Field Description private static int
SUPPORTED_ARGS
The default args size the method has to have in order to be analyzed.
-
Constructor Summary
Constructors Constructor Description AbstractMethodHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doBind(java.lang.String pattern, java.lang.String namespaceURI, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)
private void
doHandle(A methodAnnotation, java.lang.annotation.Annotation annotation, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)
private void
doHandle(A methodAnnotation, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)
void
handle(A annotation, java.lang.reflect.Method element, RulesBinder rulesBinder)
Handles the current visited element with the related current annotation.
-
-
-
Field Detail
-
SUPPORTED_ARGS
private static final int SUPPORTED_ARGS
The default args size the method has to have in order to be analyzed.- See Also:
- Constant Field Values
-
-
Method Detail
-
handle
public void handle(A annotation, java.lang.reflect.Method element, RulesBinder rulesBinder)
Handles the current visited element with the related current annotation.- Specified by:
handle
in interfaceAnnotationHandler<A extends java.lang.annotation.Annotation,java.lang.reflect.Method>
- Parameters:
annotation
- the current visited annotation.element
- the current visited annotated element.rulesBinder
- the annotationsRulesBinder
where rules have to be bound.
-
doHandle
private void doHandle(A methodAnnotation, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)
-
doHandle
private void doHandle(A methodAnnotation, java.lang.annotation.Annotation annotation, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)
-
doBind
protected abstract void doBind(java.lang.String pattern, java.lang.String namespaceURI, java.lang.reflect.Method method, java.lang.Class<?> type, boolean fireOnBegin, RulesBinder rulesBinder)
-
-