|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnnotationListener
Elements interested in representing annotations should implement this interface. The implementor should be able to clear all annotations and reset a subset of annotations rather quickly.
| Method Summary | |
|---|---|
void |
addAnnotation(Annotation annotation)
Add an annotation to the element. |
void |
annotationsAdded()
Is called after a list of annotations is added. |
void |
clearAnnotations()
Clears all annotations. |
void |
extractionFinished()
A hook to react to annotation extraction. |
void |
extractionStarted()
A hook to react to annotation extraction. |
| Method Detail |
|---|
void addAnnotation(Annotation annotation)
annotation - The annotation to add: this method is called a lot. After a
clearAnnotations() call a very large number of annotations is
possible. So efficiently adding annotations should be possible
or threaded.void clearAnnotations()
void annotationsAdded()
void extractionStarted()
void extractionFinished()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||