|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.digester.annotations.providers.SetPropertiesRuleProvider
public final class SetPropertiesRuleProvider
Provides instances of SetPropertiesRule
.
Constructor Summary | |
---|---|
SetPropertiesRuleProvider()
|
Method Summary | |
---|---|
void |
addAlias(SetProperty annotation,
Field element)
Adds a new alias attribute/property name; if the attribute name is not specified, the alias will be considered as property name identity. |
SetPropertiesRule |
get()
Provides an instance of Rule . |
void |
init(SetProperty 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 |
---|
public SetPropertiesRuleProvider()
Method Detail |
---|
public void init(SetProperty annotation, Field element)
init
in interface AnnotationRuleProvider<SetProperty,Field,SetPropertiesRule>
annotation
- the annotation instance.element
- the annotated element reference.public void addAlias(SetProperty annotation, Field element)
annotation
- the SetProperty
reference.element
- the annotated element reference.public SetPropertiesRule get()
Rule
.
Must never return null.
get
in interface AnnotationRuleProvider<SetProperty,Field,SetPropertiesRule>
Rule
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |