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 | Method and Description |
---|---|
<A extends Annotation,E extends AnnotatedElement,R extends Rule,T extends AnnotationRuleProvider<A,E,R>> |
FromAnnotationsRuleSet.addRuleProvider(String pattern,
Class<T> klass,
A annotation,
E element)
Builds and register an
AnnotationRuleProvider for a specific
pattern. |
<T extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> |
FromAnnotationsRuleSet.getProvider(String pattern,
Class<T> providerClass)
Retrieves a specific instance of the
AnnotationRuleProvider for
the input pattern. |
Modifier and Type | Method and Description |
---|---|
void |
FromAnnotationsRuleSet.addRuleProvider(String pattern,
AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule> ruleProvider)
Register an
AnnotationRuleProvider for a specific pattern. |
Modifier and Type | Method and Description |
---|---|
<T extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> |
DefaultAnnotationRuleProviderFactory.newInstance(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 Annotation,? extends AnnotatedElement,? extends Rule>> |
AnnotationRuleProviderFactory.newInstance(Class<T> type)
Return an
AnnotationRuleProvider instance of the specified type. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.