gate.gui.docview
Class TextualDocumentView.AnnotationTag

java.lang.Object
  extended bygate.gui.docview.TextualDocumentView.AnnotationTag
Enclosing class:
TextualDocumentView

class TextualDocumentView.AnnotationTag
extends Object

A structure that holds an annotation and its tag.


Field Summary
(package private)  Annotation annotation
           
(package private)  Object tag
           
 
Constructor Summary
TextualDocumentView.AnnotationTag(Annotation annotation, Object tag)
           
 
Method Summary
 Annotation getAnnotation()
           
 Object getTag()
           
 void setTag(Object tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotation

Annotation annotation

tag

Object tag
Constructor Detail

TextualDocumentView.AnnotationTag

public TextualDocumentView.AnnotationTag(Annotation annotation,
                                         Object tag)
Method Detail

setTag

public void setTag(Object tag)
Parameters:
tag - The tag to set.

getAnnotation

public Annotation getAnnotation()
Returns:
Returns the annotation.

getTag

public Object getTag()
Returns:
Returns the tag.