Class AttributeCallParamRuleProvider
- java.lang.Object
-
- org.apache.commons.digester.annotations.providers.AttributeCallParamRuleProvider
-
- All Implemented Interfaces:
AnnotationRuleProvider<AttributeCallParam,MethodArgument,CallParamRule>
public final class AttributeCallParamRuleProvider extends Object implements AnnotationRuleProvider<AttributeCallParam,MethodArgument,CallParamRule>
Provides instances ofCallParamRule
.- Since:
- 2.1
- See Also:
CallParamRule(int,String)
-
-
Constructor Summary
Constructors Constructor Description AttributeCallParamRuleProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallParamRule
get()
Provides an instance ofRule
.void
init(AttributeCallParam annotation, MethodArgument element)
Initializes the provider.
-
-
-
Method Detail
-
init
public void init(AttributeCallParam annotation, MethodArgument element)
Initializes the provider.- Specified by:
init
in interfaceAnnotationRuleProvider<AttributeCallParam,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<AttributeCallParam,MethodArgument,CallParamRule>
- Returns:
- an instance of
Rule
.
-
-