Uses of Class
org.apache.uima.jcas.tcas.Annotation
Packages that use Annotation
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Interfaces for accessing the JCAS.
Provides the classes that support the Java Cas Model (JCM).
Utility classes and interfaces used by UIMA components.
-
Uses of Annotation in org.apache.uima.cas
Methods in org.apache.uima.cas with parameters of type AnnotationModifier and TypeMethodDescriptionSelectFSs.following
(Annotation annotation) For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd();SelectFSs.following
(Annotation annotation, int offset) For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd() and then adjust position by the offsetSelectFSs.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.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
Fields in org.apache.uima.cas.impl declared as AnnotationModifier and TypeFieldDescriptionprivate final Annotation
Subiterator.boundingAnnot
the bounding annotation need not be a subtype of Tprivate final Annotation
Subiterator.coveringStartPos
private Annotation
private final Annotation
Subiterator.originalBoundingAnnotation
Fields in org.apache.uima.cas.impl with type parameters of type AnnotationModifier and TypeFieldDescriptionprivate final Map
<TypeImpl, FsIndex_annotation<Annotation>> FSIndexRepositoryImpl.annotationIndexes
speedup for annotation index accessing by type, lazily initializedprivate FSIterator
<Annotation> CASImpl.docAnnotIter
Optimization - keep a documentAnnotationIterator handy for getting a ref to the doc annot Initialized lazily, synchronized One per cas viewprivate final LowLevelIterator
<Annotation> Subiterator.it
private ArrayList
<Annotation> Subiterator.list
Methods in org.apache.uima.cas.impl with type parameters of type AnnotationModifier and TypeMethodDescriptionprivate <T extends Annotation>
TCASImpl.createDocumentAnnotationNoRemove
(int length) <T extends Annotation>
TCASImpl.createDocumentAnnotationNoRemoveNoIndex
(int length) Methods in org.apache.uima.cas.impl that return AnnotationModifier and TypeMethodDescriptionCASImpl.createAnnotation
(Type type, int begin, int end) private static Annotation[]
LLUnambiguousIteratorImpl.createItemsArray
(LowLevelIterator<FeatureStructure> it) private Annotation
SelectFSs_impl.makePosAnnot
(int begin, int end) Methods in org.apache.uima.cas.impl that return types with arguments of type AnnotationMethods in org.apache.uima.cas.impl with parameters of type AnnotationModifier and TypeMethodDescriptionSelectFSs_impl.commonFollowing
(Annotation annotation, int offset) validations isAnnotationIndex => startingFs is Annotation isAllViews: doesn't support startAt, coveredBy and friends, backwards isAllViews: supports limit, shiftSelectFSs_impl.commonPreceding
(Annotation annotation, int offset) private boolean
Subiterator.coveredByBounds
(Annotation ann) private boolean
Subiterator.equalToBounds
(Annotation fs) Special equalToBounds used only for having bounded iterators skip returning the bounding annotation Two styles: uimaFIT style: only skip the exact one (id's the same) uima style: skip all that compare equal using the AnnotationIndex comparatorSelectFSs_impl.following
(Annotation fs) SelectFSs_impl.following
(Annotation fs, int offset) SelectFSs_impl.preceding
(Annotation fs) SelectFSs_impl.preceding
(Annotation annotation, int offset) void
CASImpl.set_deserialized_doc_annot_not_indexed
(Annotation doc_annot) Method parameters in org.apache.uima.cas.impl with type arguments of type AnnotationModifier and TypeMethodDescriptionprivate void
Subiterator.moveToJustPastBoundsAndBackup
(int begin, int end, Predicate<Annotation> continue_going_backwards) Called by move to Last (only) and only for non-empty iterators, to move to a place just beyond the last spot, and then backup while the goBackwards is true Includes adjustForStrictOrCoveringAndBoundSkip going backwardsConstructors in org.apache.uima.cas.impl with parameters of type AnnotationModifierConstructorDescription(package private)
Subiterator
(FSIterator<Annotation> it, Annotation boundingAnnot, Annotation originalBoundingAnnotation, boolean ambiguous, boolean strict, Subiterator.BoundsUse boundsUse, boolean isUseTypePriority, boolean isSkipSameBeginEndType, int startId, boolean isEmpty, Annotation coveringStartPos, boolean isDoEqualsTest, boolean isStrictIncludesAnnotationsStartingAtEndPosition, boolean isIncludeZeroWidthAtBegin, boolean isIncludeZeroWidthAtEnd) copy constructor - no move to startConstructor parameters in org.apache.uima.cas.impl with type arguments of type AnnotationModifierConstructorDescription(package private)
Subiterator
(FSIterator<Annotation> it, Annotation boundingAnnot, Annotation originalBoundingAnnotation, boolean ambiguous, boolean strict, Subiterator.BoundsUse boundsUse, boolean isUseTypePriority, boolean isSkipSameBeginEndType, int startId, boolean isEmpty, Annotation coveringStartPos, boolean isDoEqualsTest, boolean isStrictIncludesAnnotationsStartingAtEndPosition, boolean isIncludeZeroWidthAtBegin, boolean isIncludeZeroWidthAtEnd) copy constructor - no move to start -
Uses of Annotation in org.apache.uima.examples
Subclasses of Annotation in org.apache.uima.examplesModifier and TypeClassDescriptionclass
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 AnnotationModifier and TypeMethodDescription<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 AnnotationModifier and TypeMethodDescriptionJCas.getAnnotationIndex()
Get the standard annotation index.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 AnnotationModifier and TypeMethodDescription<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 AnnotationModifier and TypeMethodDescriptionJCasImpl.getAnnotationIndex()
JFSIndexRepositoryImpl.getAnnotationIndex()
-
Uses of Annotation in org.apache.uima.jcas.tcas
Subclasses of Annotation in org.apache.uima.jcas.tcasModifier and TypeClassDescriptionclass
The JCas class definition for the CASDocumentAnnotation
type.Methods in org.apache.uima.jcas.tcas that return AnnotationModifier and TypeMethodDescriptionstatic Annotation
Annotation._createMarkerAnnotation
(JCas aJCas, int aBegin, int aEnd) For internal use bySelectFSs_impl
Methods in org.apache.uima.jcas.tcas with parameters of type AnnotationModifier and TypeMethodDescriptionfinal int
Annotation.compareAnnotation
(Annotation other) Compare two annotations, no type orderfinal int
Annotation.compareAnnotation
(Annotation other, LinearTypeOrder lto) Compare two annotations incl type orderfinal int
Annotation.compareAnnotationWithId
(Annotation other) Compare two annotations, with id comparefinal int
Annotation.compareAnnotationWithId
(Annotation other, LinearTypeOrder lto) Compare two annotations, with type order, with id compare -
Uses of Annotation in org.apache.uima.tools.viewer
Methods in org.apache.uima.tools.viewer with parameters of type AnnotationModifier and TypeMethodDescriptionCasAnnotationViewer.DefaultEntityResolver.getEntity
(Annotation inAnnotation) EntityResolver.getEntity
(Annotation aAnnotation) Returns theEntity
to which an annotation refers.private boolean
CasAnnotationViewer.isMatch
(Annotation annotation) Check if an annotation matches the filters set by the user.private void
CasAnnotationViewer.processOneAnnotationInEntityView
(StyledDocument doc, Annotation annotation) Process one annotation in entity view.private boolean
CasAnnotationViewer.processOneAnnotationInFeatureView
(StyledDocument doc, Annotation annotation, boolean firstType) Examine an annotation and add type/feature/value-related controls if necessary.private boolean
CasAnnotationViewer.processOneFeature
(StyledDocument doc, Annotation annotation, Feature feature, boolean firstFeature) Examine one feature of the given annotation and create the feature-related controls.private boolean
CasAnnotationViewer.processOneFeatureValue
(StyledDocument doc, Annotation annotation, Feature feature) Examine one feature of the given annotation and create the feature-value-related controls. -
Uses of Annotation in org.apache.uima.util
Fields in org.apache.uima.util declared as Annotation