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

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

public final class StackCallParamRuleProvider
extends Object
implements AnnotationRuleProvider<StackCallParam,MethodArgument,CallParamRule>

Provides instances of CallParamRule.

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

Constructor Summary
StackCallParamRuleProvider()
           
 
Method Summary
 CallParamRule get()
          Provides an instance of Rule.
 void init(StackCallParam 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

StackCallParamRuleProvider

public StackCallParamRuleProvider()
Method Detail

init

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

Specified by:
init in interface AnnotationRuleProvider<StackCallParam,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<StackCallParam,MethodArgument,CallParamRule>
Returns:
an instance of Rule.


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