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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Provides an instance ofRule.voidinit(BeanPropertySetter annotation, Field element) Initializes the provider.
-
Field Details
-
name
-
-
Constructor Details
-
BeanPropertySetterRuleProvider
public BeanPropertySetterRuleProvider()
-
-
Method Details
-
init
Initializes the provider.- Specified by:
initin 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:
getin interfaceAnnotationRuleProvider<BeanPropertySetter,Field, BeanPropertySetterRule> - Returns:
- an instance of
Rule.
-