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