Uses of Interface
org.apache.uima.cas.FSIterator
-
Packages that use FSIterator Package Description org.apache.uima.cas Common Analysis System(CAS) Interfacesorg.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.cas.text Text Common Annotation System (TCAS) Interfaces.org.apache.uima.internal.util 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.tools.cvd org.apache.uima.tools.viewer -
-
Uses of FSIterator in org.apache.uima.cas
Methods in org.apache.uima.cas that return FSIterator Modifier and Type Method Description FSIterator<T>
FSIterator. 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.FSIterator<T>
SelectFSs. fsIterator()
default <T extends TOP>
FSIterator<T>CAS. getAllIndexedFS(java.lang.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(java.lang.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.FSIterator<T>
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 FSIterator Modifier and Type Method Description <T extends FeatureStructure>
FSIterator<T>CAS. createFilteredIterator(FSIterator<T> it, FSMatchConstraint cons)
Create an iterator over structures satisfying a given constraint.<T extends FeatureStructure>
java.util.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.impl Modifier and Type Interface Description interface
LowLevelIterator<T extends FeatureStructure>
Low-level FS iterator.Classes in org.apache.uima.cas.impl that implement FSIterator Modifier and Type Class Description (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 class
SelectFSs_impl.SelectFSIterator
class
Subiterator<T extends AnnotationFS>
Subiterator implementation.Fields in org.apache.uima.cas.impl declared as FSIterator Modifier and Type Field Description private 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 FSIterator Modifier and Type Method Description FSIterator<T>
FsIterator_backwards. copy()
FSIterator<T>
FsIterator_limited. copy()
FSIterator<T>
FsIterator_subtypes_ordered. copy()
FSIterator<T>
FsIterator_subtypes_snapshot. copy()
FSIterator<T>
SelectFSs_impl.SelectFSIterator. copy()
FSIterator<T>
Subiterator. copy()
<T extends FeatureStructure>
FSIterator<T>CASImpl. createFilteredIterator(FSIterator<T> it, FSMatchConstraint cons)
FSIterator<T>
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)
FSIterator<T>
FsIndex_annotation. subiterator(AnnotationFS annot)
FSIterator<T>
FsIndex_annotation. subiterator(AnnotationFS annot, boolean ambiguous, boolean strict)
Methods in org.apache.uima.cas.impl with parameters of type FSIterator Modifier and Type Method Description private 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>
java.util.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 FSIterator Constructor Description FilteredIterator(FSIterator<T> it, FSMatchConstraint cons)
Create a filtered iterator from a base iterator and a constraint.FsIterator_backwards(FSIterator<T> iterator)
FsIterator_limited(FSIterator<T> iterator, int limit)
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 startSubiterator(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 FSIterator Modifier and Type Method Description FSIterator<T>
AnnotationIndex. iterator(boolean ambiguous)
Return an iterator over annotations that can be constrained to be unambiguous.FSIterator<T>
AnnotationIndex. subiterator(AnnotationFS annot)
Return a subiterator whose bounds are defined by the input annotation.FSIterator<T>
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.util Modifier and Type Interface Description interface
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 FSIterator Modifier and Type Method Description <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(java.lang.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).FSIterator<SofaFS>
JCas. getSofaIterator()
Get iterator for all SofaFS in the CAS.Methods in org.apache.uima.jcas with parameters of type FSIterator Modifier and Type Method Description <T extends FeatureStructure>
FSIterator<T>JCas. createFilteredIterator(FSIterator<T> it, FSMatchConstraint cons)
Create an iterator over structures satisfying a given constraint.<T extends FeatureStructure>
java.util.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 FSIterator Modifier and Type Method Description <T extends FeatureStructure>
FSIterator<T>JCasImpl. createFilteredIterator(FSIterator<T> it, FSMatchConstraint constraint)
<T extends TOP>
FSIterator<T>JCasImpl. getAllIndexedFS(java.lang.Class<T> clazz)
<T extends TOP>
FSIterator<T>JFSIndexRepositoryImpl. getAllIndexedFS(int aType)
<T extends TOP>
FSIterator<T>JFSIndexRepositoryImpl. getAllIndexedFS(Type aType)
FSIterator<SofaFS>
JCasImpl. getSofaIterator()
Methods in org.apache.uima.jcas.impl with parameters of type FSIterator Modifier and Type Method Description <T extends FeatureStructure>
FSIterator<T>JCasImpl. createFilteredIterator(FSIterator<T> it, FSMatchConstraint constraint)
<T extends FeatureStructure>
java.util.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 FSIterator Modifier and Type Method Description static AnnotationExtent[]
MultiMarkup. createAnnotationMarkups(FSIterator it, int textLen, java.util.Map<java.lang.String,javax.swing.text.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 FSIterator Modifier and Type Method Description private void
CasTreeViewer. _buildTree(javax.swing.tree.DefaultMutableTreeNode aParentNode, FSIterator aIterator, int aStartPos, int aEndPos)
Recursive method called bybuildTree(DefaultMutableTreeNode,FSIterator)
.
-