Package | Description |
---|---|
org.apache.commons.digester.annotations |
The
annotations package provides for Java5 Annotations
meta data-based definition of rules for Digester . |
org.apache.commons.digester.annotations.internal |
This package contains internal use only classes, users can ignore it.
|
org.apache.commons.digester.annotations.providers |
This package contains
AnnotationRuleProvider
implementations. |
org.apache.commons.digester.annotations.spi |
Contains annotations package SPI definition.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.List<AnnotationRuleProvider<java.lang.annotation.Annotation,java.lang.reflect.AnnotatedElement,Rule>>> |
FromAnnotationsRuleSet.rules
The data structure that stores the patterns/
AnnotationRuleProvider
pairs. |
Modifier and Type | Method and Description |
---|---|
<A extends java.lang.annotation.Annotation,E extends java.lang.reflect.AnnotatedElement,R extends Rule,T extends AnnotationRuleProvider<A,E,R>> |
FromAnnotationsRuleSet.addRuleProvider(java.lang.String pattern,
java.lang.Class<T> klass,
A annotation,
E element)
Builds and register an
AnnotationRuleProvider for a specific
pattern. |
<T extends AnnotationRuleProvider<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule>> |
FromAnnotationsRuleSet.getProvider(java.lang.String pattern,
java.lang.Class<T> providerClass)
Retrieves a specific instance of the
AnnotationRuleProvider for
the input pattern. |
Modifier and Type | Method and Description |
---|---|
private java.util.Map<java.lang.String,java.util.List<AnnotationRuleProvider<java.lang.annotation.Annotation,java.lang.reflect.AnnotatedElement,Rule>>> |
FromAnnotationsRuleSet.getRules()
Returns the data structure the patterns/
AnnotationRuleProvider
pairs. |
Modifier and Type | Method and Description |
---|---|
void |
FromAnnotationsRuleSet.addRuleProvider(java.lang.String pattern,
AnnotationRuleProvider<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule> ruleProvider)
Register an
AnnotationRuleProvider for a specific pattern. |
Modifier and Type | Method and Description |
---|---|
<T extends AnnotationRuleProvider<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule>> |
DefaultAnnotationRuleProviderFactory.newInstance(java.lang.Class<T> type)
Return an
AnnotationRuleProvider instance of the specified type. |
Modifier and Type | Class and Description |
---|---|
class |
AttributeCallParamRuleProvider
Provides instances of
CallParamRule . |
class |
BeanPropertySetterRuleProvider
Provides instances of
BeanPropertySetterRule . |
class |
CallMethodRuleProvider
Provides instances of
CallMethodRule |
class |
CallParamRuleProvider
Provides instances of
CallParamRule . |
class |
FactoryCreateRuleProvider
Provides instances of
FactoryCreateRule . |
class |
ObjectCreateRuleProvider
Provides instances of
ObjectCreateRule . |
class |
PathCallParamRuleProvider
Provides instances of
PathCallParamRule . |
class |
SetNextRuleProvider
Provides instances of
SetNextRule . |
class |
SetPropertiesRuleProvider
Provides instances of
SetPropertiesRule . |
class |
SetRootRuleProvider
Provides instances of
SetRootRule . |
class |
SetTopRuleProvider
Provides instances of
SetTopRule . |
class |
StackCallParamRuleProvider
Provides instances of
CallParamRule . |
Modifier and Type | Method and Description |
---|---|
<T extends AnnotationRuleProvider<? extends java.lang.annotation.Annotation,? extends java.lang.reflect.AnnotatedElement,? extends Rule>> |
AnnotationRuleProviderFactory.newInstance(java.lang.Class<T> type)
Return an
AnnotationRuleProvider instance of the specified type. |