Class CallMethodRuleProvider
- java.lang.Object
-
- org.apache.commons.digester.annotations.providers.CallMethodRuleProvider
-
- All Implemented Interfaces:
AnnotationRuleProvider<CallMethod,Method,CallMethodRule>
public final class CallMethodRuleProvider extends Object implements AnnotationRuleProvider<CallMethod,Method,CallMethodRule>
Provides instances ofCallMethodRule
- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description CallMethodRuleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallMethodRule
get()
Provides an instance ofRule
.void
init(CallMethod annotation, Method element)
Initializes the provider.
-
-
-
Method Detail
-
init
public void init(CallMethod annotation, Method element)
Initializes the provider.- Specified by:
init
in interfaceAnnotationRuleProvider<CallMethod,Method,CallMethodRule>
- Parameters:
annotation
- the annotation instance.element
- the annotated element reference.
-
get
public CallMethodRule get()
Provides an instance ofRule
. Must never return null.- Specified by:
get
in interfaceAnnotationRuleProvider<CallMethod,Method,CallMethodRule>
- Returns:
- an instance of
Rule
.
-
-