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