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

java.lang.Object
  extended by org.apache.commons.digester.annotations.providers.BeanPropertySetterRuleProvider
All Implemented Interfaces:
AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>

public final class BeanPropertySetterRuleProvider
extends Object
implements AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>

Provides instances of BeanPropertySetterRule.

Since:
2.1

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

Constructor Detail

BeanPropertySetterRuleProvider

public BeanPropertySetterRuleProvider()
Method Detail

init

public void init(BeanPropertySetter annotation,
                 Field element)
Initializes the provider.

Specified by:
init in interface AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>
Parameters:
annotation - the annotation instance.
element - the annotated element reference.

get

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

Specified by:
get in interface AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>
Returns:
an instance of Rule.


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