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