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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Provides an instance ofRule.voidinit(CallMethod annotation, Method element) Initializes the provider.
-
Constructor Details
-
CallMethodRuleProvider
public CallMethodRuleProvider()
-
-
Method Details
-
init
Initializes the provider.- Specified by:
initin 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:
getin interfaceAnnotationRuleProvider<CallMethod,Method, CallMethodRule> - Returns:
- an instance of
Rule.
-