org.apache.commons.digester.annotations.providers
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallMethodRuleProvider
public CallMethodRuleProvider()
init
public void init(CallMethod annotation,
Method element)
- Initializes the provider.
- Specified by:
init
in interface AnnotationRuleProvider<CallMethod,Method,CallMethodRule>
- Parameters:
annotation
- the annotation instance.element
- the annotated element reference.
get
public CallMethodRule get()
- Provides an instance of
Rule
.
Must never return null.
- Specified by:
get
in interface AnnotationRuleProvider<CallMethod,Method,CallMethodRule>
- Returns:
- an instance of
Rule
.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.