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

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

public final class AttributeCallParamRuleProvider
extends Object
implements AnnotationRuleProvider<AttributeCallParam,MethodArgument,CallParamRule>

Provides instances of CallParamRule.

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

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

AttributeCallParamRuleProvider

public AttributeCallParamRuleProvider()
Method Detail

init

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

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


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