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.handlers |
The
handlers package contains
DigesterLoaderHandler
implementations. |
org.apache.commons.digester.annotations.internal |
This package contains internal use only classes, users can ignore it.
|
Modifier and Type | Method and Description |
---|---|
void |
FromAnnotationsRuleSet.addRulesProviderFrom(FromAnnotationsRuleSet ruleSet)
Add created
AnnotationRuleProvider s created in another analysis
session. |
void |
DigesterLoader.addRulesTo(java.lang.Class<?> target,
FromAnnotationsRuleSet ruleSet)
Analyzes the target class and adds the
AnnotationRuleProvider s to
the existing FromAnnotationsRuleSet . |
void |
DigesterLoaderHandler.handle(A annotation,
E element,
FromAnnotationsRuleSet ruleSet)
Handles the current visited element with the related current annotation.
|
private <A extends java.lang.annotation.Annotation,E extends java.lang.reflect.AnnotatedElement,R extends Rule> |
DigesterLoader.handle(A annotation,
E element,
FromAnnotationsRuleSet ruleSet)
Handles the current visited element and related annotation, invoking the
right handler putting the rule provider in the rule set.
|
private void |
DigesterLoader.handle(java.lang.reflect.AnnotatedElement element,
FromAnnotationsRuleSet ruleSet)
Executes an analysis for each annotation present in the element.
|
Modifier and Type | Method and Description |
---|---|
private <A extends java.lang.annotation.Annotation,R extends Rule> |
MethodHandler.doHandle(A methodAnnotation,
java.lang.annotation.Annotation annotation,
java.lang.reflect.Method method,
java.lang.Class<?> type,
FromAnnotationsRuleSet ruleSet) |
private void |
MethodHandler.doHandle(java.lang.annotation.Annotation methodAnnotation,
java.lang.reflect.Method method,
java.lang.Class<?> type,
FromAnnotationsRuleSet ruleSet) |
void |
MethodHandler.handle(java.lang.annotation.Annotation annotation,
java.lang.reflect.Method element,
FromAnnotationsRuleSet ruleSet)
Handles the current visited element with the related current annotation.
|
void |
SetPropertiesLoaderHandler.handle(SetProperty annotation,
java.lang.reflect.Field element,
FromAnnotationsRuleSet ruleSet)
Handles the current visited element with the related current annotation.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Class<?>,FromAnnotationsRuleSet> |
RuleSetCache.data
The map that implements the LRU cache.
|
Modifier and Type | Method and Description |
---|---|
FromAnnotationsRuleSet |
RuleSetCache.get(java.lang.Class<?> key)
Returns the value to which the specified key is cached, or null if this
cache contains no mapping for the key.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleSetCache.put(java.lang.Class<?> key,
FromAnnotationsRuleSet value)
Associates the specified value with the specified key in this cache.
|