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 of
CallMethodRule
- Since:
- 2.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Provides an instance ofRule
.void
init
(CallMethod annotation, Method element) Initializes the provider.
-
Field Details
-
methodName
-
parameterTypes
-
-
Constructor Details
-
CallMethodRuleProvider
public CallMethodRuleProvider()
-
-
Method Details
-
init
Initializes the provider.- Specified by:
init
in interfaceAnnotationRuleProvider<CallMethod,
Method, CallMethodRule> - Parameters:
annotation
- the annotation instance.element
- the annotated element reference.
-
get
Provides an instance ofRule
. Must never return null.- Specified by:
get
in interfaceAnnotationRuleProvider<CallMethod,
Method, CallMethodRule> - Returns:
- an instance of
Rule
.
-