Class BeanPropertySetterRuleProvider
java.lang.Object
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Provides an instance ofRule
.void
init
(BeanPropertySetter annotation, Field element) Initializes the provider.
-
Constructor Details
-
BeanPropertySetterRuleProvider
public BeanPropertySetterRuleProvider()
-
-
Method Details
-
init
Initializes the provider.- Specified by:
init
in interfaceAnnotationRuleProvider<BeanPropertySetter,
Field, BeanPropertySetterRule> - Parameters:
annotation
- the annotation instance.element
- the annotated element reference.
-
get
Provides an instance ofRule
. Must never return null.- Specified by:
get
in interfaceAnnotationRuleProvider<BeanPropertySetter,
Field, BeanPropertySetterRule> - Returns:
- an instance of
Rule
.
-