Package opennlp.uima.util
Class AnnotationIteratorPair
- java.lang.Object
-
- opennlp.uima.util.AnnotationIteratorPair
-
public final class AnnotationIteratorPair extends Object
A pair of aUIMA annotationand anannotation iterator.
-
-
Constructor Summary
Constructors Constructor Description AnnotationIteratorPair(org.apache.uima.cas.text.AnnotationFS a, Iterable<org.apache.uima.cas.text.AnnotationFS> it)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.uima.cas.text.AnnotationFSgetAnnotation()Iterable<org.apache.uima.cas.text.AnnotationFS>getSubIterator()
-
-
-
Constructor Detail
-
AnnotationIteratorPair
public AnnotationIteratorPair(org.apache.uima.cas.text.AnnotationFS a, Iterable<org.apache.uima.cas.text.AnnotationFS> it)
-
-
Method Detail
-
getAnnotation
public org.apache.uima.cas.text.AnnotationFS getAnnotation()
- Returns:
- Retrieves the
AnnotationFS.
-
getSubIterator
public Iterable<org.apache.uima.cas.text.AnnotationFS> getSubIterator()
- Returns:
- Retrieves the
sub-iterator.
-
-