|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.core.annotationprocessing.BaseAnnotationProcessingService
public class BaseAnnotationProcessingService
An AnnotationProcessingService handles multiple AnnotationProcessors
and uses them to process one or more Annotations. This is a standard
implementation that should be sufficient for most purposes.
AnnotationProcessingService| Constructor Summary | |
|---|---|
BaseAnnotationProcessingService()
|
|
| Method Summary | ||
|---|---|---|
void |
addAnnotationProcessor(AnnotationProcessor annotationProcessor)
Add an AnnotationProcessor to the service. |
|
Set<AnnotationProcessor> |
getAnnotationProcessors()
Returns the set of AnnotationProcessors registered with
this service. |
|
|
processAnnotation(I info,
A annotation)
The processing action of this service. |
|
|
processAnnotations(I info,
Annotation[] annotations)
Calls AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseAnnotationProcessingService()
| Method Detail |
|---|
public void addAnnotationProcessor(AnnotationProcessor annotationProcessor)
AnnotationProcessor to the service.
addAnnotationProcessor in interface AnnotationProcessingServiceannotationProcessor - the AnnotationProcessor to add to this service.addAnnotationProcessor(AnnotationProcessor)public Set<AnnotationProcessor> getAnnotationProcessors()
AnnotationProcessors registered with
this service.
getAnnotationProcessors in interface AnnotationProcessingServiceAnnotationProcessors registered with this service.getAnnotationProcessors()
public <I extends BaseNature> Annotation[] processAnnotations(I info,
Annotation[] annotations)
AnnotationProcessingService.processAnnotation(BaseNature, Annotation) for each given
Annotation.
processAnnotations in interface AnnotationProcessingServiceinfo - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotations - the annotations to process
processAnnotations(BaseNature, Annotation[])
public <I extends BaseNature,A extends Annotation> boolean processAnnotation(I info,
A annotation)
AnnotationProcessor.processAnnotation(BaseNature, Annotation) is
returned.
processAnnotation in interface AnnotationProcessingServiceinfo - the BaseNature (and so its PropertyHolder)
that should be filled with the information readannotation - the annotation to process
(BaseNature, Annotation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||