org.apache.commons.digester.annotations
Annotation Type DigesterRule


@Documented
@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface DigesterRule

Meta-annotation that marks an annotation as part of commons-digester.

Since:
2.1

Required Element Summary
 Class<? extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> providedBy
          Define the AnnotationRuleProvider that builds the Rule related to the digester rule.
 Class<? extends Rule> reflectsRule
          The reflected commons-digester rule.
 
Optional Element Summary
 Class<? extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>> handledBy
          The handler that takes care on converting this annotation in the related AnnotationRuleProvider and adds it o the FromAnnotationsRuleSet
 

Element Detail

reflectsRule

public abstract Class<? extends Rule> reflectsRule
The reflected commons-digester rule.

Returns:
the reflected commons-digester rule.

providedBy

public abstract Class<? extends AnnotationRuleProvider<? extends Annotation,? extends AnnotatedElement,? extends Rule>> providedBy
Define the AnnotationRuleProvider that builds the Rule related to the digester rule.

Returns:
the AnnotationRuleProvider.

handledBy

public abstract Class<? extends DigesterLoaderHandler<? extends Annotation,? extends AnnotatedElement>> handledBy
The handler that takes care on converting this annotation in the related AnnotationRuleProvider and adds it o the FromAnnotationsRuleSet

Returns:
the DigesterLoaderHandler
Default:
org.apache.commons.digester.annotations.handlers.DefaultLoaderHandler.class


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.