Class AnnotationBase

All Implemented Interfaces:
Cloneable, AnnotationBaseFS, FeatureStructure, AnnotationBaseImpl, FeatureStructureImpl
Direct Known Subclasses:
Annotation

public class AnnotationBase extends TOP implements AnnotationBaseImpl
the JCas class model for the CAS type uima.cas.AnnotationBase. The AnnotationBase type defines one system-used feature which specifies for an annotation the subject of analysis (Sofa) to which it refers. Various annotation types (including the built-in uima.tcas.Annotation) may be defined as subtypes of this type. uima.tcas.Annotation is a subtype of this type, appropriate for Subjects of Analysis which are text strings. Other (not-built-in) subtypes may be defined for other kinds of Subjects of Analysis. For instance an audio sample Subject of Analysis might define a start and end position as time points in the stream. An image Subject of Analysis might define rectangular coordiantes describing a sub-area of the image. If you are defining a type which needs a reference to the Subject of Analysis (which is view-specific), it should be a subtype of this base type.
  • Field Details

  • Constructor Details

    • AnnotationBase

      @Deprecated protected AnnotationBase()
      Deprecated.
    • AnnotationBase

      public AnnotationBase(JCas jcas)
    • AnnotationBase

      protected AnnotationBase(JCas jcas, int aId)
      Used to create temporary marker annotations.
    • AnnotationBase

      public AnnotationBase(TypeImpl t, CASImpl c)
      used by generator Make a new AnnotationBase
  • Method Details