# Uses of Class
org.apache.uima.jcas.tcas.Annotation

Packages that use Annotation
Package
Description
org.apache.uima.cas
Common Analysis System(CAS) Interfaces
org.apache.uima.cas.impl
Implementation and Low-Level API for the CAS Interfaces.
org.apache.uima.examples
org.apache.uima.jcas
Interfaces for accessing the JCAS.
org.apache.uima.jcas.impl
Provides the classes that support the Java Cas Model (JCM).
org.apache.uima.jcas.tcas

- ## Uses of Annotation in org.apache.uima.cas

  Methods in org.apache.uima.cas with parameters of type Annotation
  Modifier and Type
  Method
  Description
  `SelectFSs<T>`
  SelectFSs.`following(Annotation annotation)`
  For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd();
  `SelectFSs<T>`
  SelectFSs.`following(Annotation annotation, int offset)`
  For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd() and then adjust position by the offset
  `SelectFSs<T>`
  SelectFSs.`preceding(Annotation annotation)`
  For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, whose end <= fs.getBegin().
  `SelectFSs<T>`
  SelectFSs.`preceding(Annotation annotation, int offset)`
  For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, ending at the last Annotation whose end <= fs.getBegin(), after adjusting by offset items.

- ## Uses of Annotation in org.apache.uima.cas.impl

  Methods in org.apache.uima.cas.impl with type parameters of type Annotation
  Modifier and Type
  Method
  Description
  `<T extends Annotation>
  T`
  CASImpl.`createDocumentAnnotationNoRemoveNoIndex(int length)`
  Methods in org.apache.uima.cas.impl that return Annotation
  Modifier and Type
  Method
  Description
  `Annotation`
  CASImpl.`createAnnotation(Type type, int begin, int end)`
  Methods in org.apache.uima.cas.impl with parameters of type Annotation
  Modifier and Type
  Method
  Description
  `SelectFSs<T>`
  SelectFSs_impl.`following(Annotation fs)`
  `SelectFSs<T>`
  SelectFSs_impl.`following(Annotation fs, int offset)`
  `SelectFSs<T>`
  SelectFSs_impl.`preceding(Annotation fs)`
  `SelectFSs<T>`
  SelectFSs_impl.`preceding(Annotation annotation, int offset)`
  `void`
  CASImpl.`set_deserialized_doc_annot_not_indexed(Annotation doc_annot)`

- ## Uses of Annotation in org.apache.uima.examples

  Subclasses of Annotation in org.apache.uima.examples
  Modifier and Type
  Class
  Description
  `class`
  `SourceDocumentInformation`
  Stores detailed information about the original source document from which the current CAS was initialized.

- ## Uses of Annotation in org.apache.uima.jcas

  Methods in org.apache.uima.jcas with type parameters of type Annotation
  Modifier and Type
  Method
  Description
  `<T extends Annotation>
  AnnotationIndex<T>`
  JCas.`getAnnotationIndex(int type)`
  Get the standard annotation index restricted to a specific annotation type.
  `<T extends Annotation>
  AnnotationIndex<T>`
  JCas.`getAnnotationIndex(Class<T> clazz)`
  Get the standard annotation index restricted to a specific annotation type.
  `<T extends Annotation>
  AnnotationIndex<T>`
  JCas.`getAnnotationIndex(Type type)`
  Get the standard annotation index restricted to a specific annotation type.
  `<T extends Annotation>
  AnnotationIndex<T>`
  JFSIndexRepository.`getAnnotationIndex(int type)`
  Get the standard annotation index restricted to a specific annotation type.
  Methods in org.apache.uima.jcas that return types with arguments of type Annotation
  Modifier and Type
  Method
  Description
  `AnnotationIndex<Annotation>`
  JCas.`getAnnotationIndex()`
  Get the standard annotation index.
  `AnnotationIndex<Annotation>`
  JFSIndexRepository.`getAnnotationIndex()`
  Get the standard annotation index.

- ## Uses of Annotation in org.apache.uima.jcas.impl

  Methods in org.apache.uima.jcas.impl with type parameters of type Annotation
  Modifier and Type
  Method
  Description
  `<T extends Annotation>
  AnnotationIndex<T>`
  JCasImpl.`getAnnotationIndex(int type)`
  `<T extends Annotation>
  AnnotationIndex<T>`
  JCasImpl.`getAnnotationIndex(Class<T> clazz)`
  `<T extends Annotation>
  AnnotationIndex<T>`
  JCasImpl.`getAnnotationIndex(Type type)`
  `<T extends Annotation>
  AnnotationIndex<T>`
  JFSIndexRepositoryImpl.`getAnnotationIndex(int type)`
  Methods in org.apache.uima.jcas.impl that return types with arguments of type Annotation
  Modifier and Type
  Method
  Description
  `AnnotationIndex<Annotation>`
  JCasImpl.`getAnnotationIndex()`
  `AnnotationIndex<Annotation>`
  JFSIndexRepositoryImpl.`getAnnotationIndex()`

- ## Uses of Annotation in org.apache.uima.jcas.tcas

  Subclasses of Annotation in org.apache.uima.jcas.tcas
  Modifier and Type
  Class
  Description
  `class`
  `DocumentAnnotation`
  The JCas class definition for the CAS `DocumentAnnotation` type.
  Methods in org.apache.uima.jcas.tcas that return Annotation
  Modifier and Type
  Method
  Description
  `static Annotation`
  Annotation.`_createMarkerAnnotation(JCas aJCas, int aBegin, int aEnd)`
  For internal use by `SelectFSs_impl`
  Methods in org.apache.uima.jcas.tcas with parameters of type Annotation
  Modifier and Type
  Method
  Description
  `final int`
  Annotation.`compareAnnotation(Annotation other)`
  Compare two annotations, no type order
  `final int`
  Annotation.`compareAnnotation(Annotation other, LinearTypeOrder lto)`
  Compare two annotations incl type order
  `final int`
  Annotation.`compareAnnotationWithId(Annotation other)`
  Compare two annotations, with id compare
  `final int`
  Annotation.`compareAnnotationWithId(Annotation other, LinearTypeOrder lto)`
  Compare two annotations, with type order, with id compare