gate.gui.annedit
Interface AnnotationData

All Known Implementing Classes:
AnnotationDataImpl

public interface AnnotationData

A structure for storing the information describing an annotation (i.e. the Annotation object and its enclosing AnnotationSet.


Method Summary
 Annotation getAnnotation()
          Gets the Annotation object represented by this structure.
 AnnotationSet getAnnotationSet()
          Gets the AnnotationSet object containing the annotation stored by this structure.
 

Method Detail

getAnnotation

Annotation getAnnotation()
Gets the Annotation object represented by this structure.

Returns:
an Annotation value.

getAnnotationSet

AnnotationSet getAnnotationSet()
Gets the AnnotationSet object containing the annotation stored by this structure.

Returns:
an AnnotationSet value.