org.apache.commons.digester.annotations.providers
Class CallParamRuleProvider

java.lang.Object
  extended by org.apache.commons.digester.annotations.providers.CallParamRuleProvider
All Implemented Interfaces:
AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>

public final class CallParamRuleProvider
extends Object
implements AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>

Provides instances of CallParamRule.

Since:
2.1
See Also:
CallParamRule.CallParamRule(int)

Constructor Summary
CallParamRuleProvider()
           
 
Method Summary
 CallParamRule get()
          Provides an instance of Rule.
 void init(CallParam annotation, MethodArgument element)
          Initializes the provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallParamRuleProvider

public CallParamRuleProvider()
Method Detail

init

public void init(CallParam annotation,
                 MethodArgument element)
Initializes the provider.

Specified by:
init in interface AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>
Parameters:
annotation - the annotation instance.
element - the annotated element reference.

get

public CallParamRule get()
Provides an instance of Rule. Must never return null.

Specified by:
get in interface AnnotationRuleProvider<CallParam,MethodArgument,CallParamRule>
Returns:
an instance of Rule.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.