Uses of Interface
org.apache.uima.cas.FSIterator
Packages that use FSIterator
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Text Common Annotation System (TCAS) Interfaces.
Interfaces for accessing the JCAS.
Provides the classes that support the Java Cas Model (JCM).
-
Uses of FSIterator in org.apache.uima.cas
Methods in org.apache.uima.cas that return FSIteratorModifier and TypeMethodDescriptionFSIterator.copy()
Copy this iterator.<T extends FeatureStructure>
FSIterator<T> CAS.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) Create an iterator over structures satisfying a given constraint.SelectFSs.fsIterator()
default <T extends TOP>
FSIterator<T> CAS.getAllIndexedFS
(Class<T> clazz) Gets an iterator over all indexed (in this CAS view) FeatureStructures of the specified Type (and any of its subtypes).default <T extends TOP>
FSIterator<T> CAS.getAllIndexedFS
(Type type) Gets an iterator over all indexed (in this CAS view) FeatureStructures of the specified Type (and any of its subtypes).default <T extends FeatureStructure>
FSIterator<T> FSIndexRepository.getAllIndexedFS
(Class<T> clazz) Gets an FSIterator over all indexed (in this view) FeatureStructures of the specified Type (and any of its subtypes).<T extends FeatureStructure>
FSIterator<T> FSIndexRepository.getAllIndexedFS
(Type aType) Gets an iterator over all indexed (in this View) FeatureStructures of the specified Type (and any of its subtypes).<T extends SofaFS>
FSIterator<T> CAS.getSofaIterator()
Get iterator for all SofaFS in the CAS.FSIndex.iterator()
Return an iterator over the index.default FSIterator
<T> FSIndex.iterator
(FeatureStructure fs) Return an iterator over the index.Methods in org.apache.uima.cas with parameters of type FSIteratorModifier and TypeMethodDescription<T extends FeatureStructure>
FSIterator<T> CAS.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) Create an iterator over structures satisfying a given constraint.<T extends FeatureStructure>
ListIterator<T> CAS.fs2listIterator
(FSIterator<T> it) Wrap a standard JavaListIterator
around an FSListIterator. -
Uses of FSIterator in org.apache.uima.cas.impl
Subinterfaces of FSIterator in org.apache.uima.cas.implModifier and TypeInterfaceDescriptioninterface
LowLevelIterator<T extends FeatureStructure>
Low-level FS iterator.Classes in org.apache.uima.cas.impl that implement FSIteratorModifier and TypeClassDescription(package private) class
FilteredIterator<T extends FeatureStructure>
Implements a filtered iterator.(package private) class
FsIterator_aggregation_common<T extends FeatureStructure>
Aggregate several FS iterators.(package private) class
FsIterator_backwards<T extends FeatureStructure>
Wraps FSIterator, runs it backwards (package private) class
FsIterator_bag<T extends FeatureStructure>
(package private) class
FsIterator_bag_pear<T extends FeatureStructure>
This version of the FsIterator is used while iterating within a PEAR Indexes keep references to the base (possibly non-pear) version of FSs.(package private) class
FsIterator_limited<T extends FeatureStructure>
Wraps FSIterator, limits results to n gets. class
FsIterator_multiple_indexes<T extends FeatureStructure>
Common code for both aggregation of indexes (e.g.(package private) class
FsIterator_set_sorted_pear<T extends FeatureStructure>
(package private) class
FsIterator_set_sorted2<T extends FeatureStructure>
An iterator for a single type for a set or sorted index NOTE: This is the version used for set/sorted iterators It is built directly on top of a CopyOnWrite wrapper for OrderedFsSet_array It uses the version of OrdereFsSet_array that has no embedded nullsclass
FsIterator_singletype<T extends FeatureStructure>
class
FsIterator_subtypes_ordered<T extends FeatureStructure>
Performs an ordered iteration among a set of iterators, each one corresponding to the type or subtype of the uppermost type.class
FsIterator_subtypes_snapshot<T extends FeatureStructure>
class
FSIteratorImplBase<T extends FeatureStructure>
Version 2 compatibility only, not used internally in version 3 Base class for FSIterator implementations.class
LLUnambiguousIteratorImpl<T extends FeatureStructure>
Implements a low level ambiguous or unambiguous iterator over some type T which doesn't need to be a subtype of Annotation.class
LowLevelIterator_empty<T extends FeatureStructure>
An empty Low-level FS iteratorprivate final class
class
Subiterator<T extends AnnotationFS>
Subiterator implementation.Fields in org.apache.uima.cas.impl declared as FSIteratorModifier and TypeFieldDescriptionprivate FSIterator
<Annotation> CASImpl.docAnnotIter
Optimization - keep a documentAnnotationIterator handy for getting a ref to the doc annot Initialized lazily, synchronized One per cas viewMethods in org.apache.uima.cas.impl that return FSIteratorModifier and TypeMethodDescriptionFsIterator_backwards.copy()
FsIterator_limited.copy()
FsIterator_subtypes_ordered.copy()
FsIterator_subtypes_snapshot.copy()
SelectFSs_impl.SelectFSIterator.copy()
Subiterator.copy()
<T extends FeatureStructure>
FSIterator<T> CASImpl.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) SelectFSs_impl.fsIterator()
F S I t e r a t o r -------------------private FSIterator
<Annotation> CASImpl.getDocAnnotIter()
<T extends SofaFS>
FSIterator<T> CASImpl.getSofaIterator()
private FSIterator
<T> SelectFSs_impl.maybePosition
(FSIterator<T> it) works for AnnotationIndex or general index position taken from startingFs (not necessarily an Annotation subtype) - goes to left-most "equal" using comparator, or if none equal, to the first one > startingFs -- using moveTo(fs) special processing for AnnotationIndex (only): - typePriority - use or ignore -- ignored: after moveTo(fs), moveToPrevious while begin and end == // REMOVED see https://issues.apache.org/jira/browse/UIMA-5536 --- and if isPositionUsesType types are ==private FSIterator
<T> SelectFSs_impl.maybeShift
(FSIterator<T> it) FsIndex_annotation.subiterator
(AnnotationFS annot) FsIndex_annotation.subiterator
(AnnotationFS annot, boolean ambiguous, boolean strict) Methods in org.apache.uima.cas.impl with parameters of type FSIteratorModifier and TypeMethodDescriptionprivate void
FsIndex_annotation.addChildren
(AnnotationTreeNodeImpl<T> node, FSIterator<T> it) <T extends FeatureStructure>
FSIterator<T> CASImpl.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) <T extends FeatureStructure>
ListIterator<T> CASImpl.fs2listIterator
(FSIterator<T> it) private static FeatureStructure[]
DebugFSLogicalStructure.getIndexContents
(FSIterator<? extends FeatureStructure> it) private void
SelectFSs_impl.incr
(FSIterator<T> it) private FSIterator
<T> SelectFSs_impl.maybePosition
(FSIterator<T> it) works for AnnotationIndex or general index position taken from startingFs (not necessarily an Annotation subtype) - goes to left-most "equal" using comparator, or if none equal, to the first one > startingFs -- using moveTo(fs) special processing for AnnotationIndex (only): - typePriority - use or ignore -- ignored: after moveTo(fs), moveToPrevious while begin and end == // REMOVED see https://issues.apache.org/jira/browse/UIMA-5536 --- and if isPositionUsesType types are ==private FSIterator
<T> SelectFSs_impl.maybeShift
(FSIterator<T> it) Constructors in org.apache.uima.cas.impl with parameters of type FSIteratorModifierConstructorDescription(package private)
FilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) Create a filtered iterator from a base iterator and a constraint.(package private)
FsIterator_backwards
(FSIterator<T> iterator) (package private)
FsIterator_limited
(FSIterator<T> iterator, int limit) (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(package private)
Subiterator
(FSIterator<T> it, AnnotationFS boundingAnnot, AnnotationFS originalBoundingAnnotation, boolean ambiguous, boolean strict, Subiterator.BoundsUse boundsUse, boolean isUseTypePriority, boolean isSkipSameBeginEndType, boolean isNonStrictIncludesAnnotationsStartingAtEndPosition, boolean isIncludeZeroWidthAtBegin, boolean isIncludeZeroWidthAtEnd) Caller is the implementation of AnnotationIndex, FSIndex_annotation. -
Uses of FSIterator in org.apache.uima.cas.text
Methods in org.apache.uima.cas.text that return FSIteratorModifier and TypeMethodDescriptionAnnotationIndex.iterator
(boolean ambiguous) Return an iterator over annotations that can be constrained to be unambiguous.AnnotationIndex.subiterator
(AnnotationFS annot) Return a subiterator whose bounds are defined by the input annotation.AnnotationIndex.subiterator
(AnnotationFS annot, boolean ambiguous, boolean strict) Return a subiterator whose bounds are defined by theannot
. -
Uses of FSIterator in org.apache.uima.internal.util
Subinterfaces of FSIterator in org.apache.uima.internal.utilModifier and TypeInterfaceDescriptioninterface
ComparableFSIterator<F extends FeatureStructure>
Interface for a comparable FSIterator. -
Uses of FSIterator in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return FSIteratorModifier and TypeMethodDescription<T extends FeatureStructure>
FSIterator<T> JCas.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) Create an iterator over structures satisfying a given constraint.<T extends TOP>
FSIterator<T> JCas.getAllIndexedFS
(Class<T> clazz) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).default <T extends TOP>
FSIterator<T> JCas.getAllIndexedFS
(Type type) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIterator<T> JFSIndexRepository.getAllIndexedFS
(int aType) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIterator<T> JFSIndexRepository.getAllIndexedFS
(Type aType) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).JCas.getSofaIterator()
Get iterator for all SofaFS in the CAS.Methods in org.apache.uima.jcas with parameters of type FSIteratorModifier and TypeMethodDescription<T extends FeatureStructure>
FSIterator<T> JCas.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint cons) Create an iterator over structures satisfying a given constraint.<T extends FeatureStructure>
ListIterator<T> JCas.fs2listIterator
(FSIterator<T> it) Wrap a standard JavaListIterator
around an FSListIterator. -
Uses of FSIterator in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return FSIteratorModifier and TypeMethodDescription<T extends FeatureStructure>
FSIterator<T> JCasImpl.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint constraint) <T extends TOP>
FSIterator<T> JCasImpl.getAllIndexedFS
(Class<T> clazz) <T extends TOP>
FSIterator<T> JFSIndexRepositoryImpl.getAllIndexedFS
(int aType) <T extends TOP>
FSIterator<T> JFSIndexRepositoryImpl.getAllIndexedFS
(Type aType) JCasImpl.getSofaIterator()
Methods in org.apache.uima.jcas.impl with parameters of type FSIteratorModifier and TypeMethodDescription<T extends FeatureStructure>
FSIterator<T> JCasImpl.createFilteredIterator
(FSIterator<T> it, FSMatchConstraint constraint) <T extends FeatureStructure>
ListIterator<T> JCasImpl.fs2listIterator
(FSIterator<T> it) -
Uses of FSIterator in org.apache.uima.tools.cvd
Methods in org.apache.uima.tools.cvd with parameters of type FSIteratorModifier and TypeMethodDescriptionstatic AnnotationExtent[]
MultiMarkup.createAnnotationMarkups
(FSIterator it, int textLen, Map<String, Style> styleMap) Creates the annotation markups.static MarkupExtent[]
MultiMarkup.createMarkupExtents
(FSIterator it, int textLen) Creates the markup extents. -
Uses of FSIterator in org.apache.uima.tools.viewer
Methods in org.apache.uima.tools.viewer with parameters of type FSIteratorModifier and TypeMethodDescriptionprivate void
CasTreeViewer._buildTree
(DefaultMutableTreeNode aParentNode, FSIterator aIterator, int aStartPos, int aEndPos) Recursive method called byinvalid reference
buildTree(DefaultMutableTreeNode,FSIterator)