opennlp.uima.util
Class AnnotationIteratorPair
java.lang.Object
opennlp.uima.util.AnnotationIteratorPair
public final class AnnotationIteratorPair
- extends java.lang.Object
A pair of a UIMA annotation and an annotation iterator.
Constructor Summary |
AnnotationIteratorPair(org.apache.uima.cas.text.AnnotationFS a,
java.lang.Iterable<org.apache.uima.cas.text.AnnotationFS> it)
|
Method Summary |
org.apache.uima.cas.text.AnnotationFS |
getAnnotation()
|
java.lang.Iterable<org.apache.uima.cas.text.AnnotationFS> |
getSubIterator()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationIteratorPair
public AnnotationIteratorPair(org.apache.uima.cas.text.AnnotationFS a,
java.lang.Iterable<org.apache.uima.cas.text.AnnotationFS> it)
getAnnotation
public org.apache.uima.cas.text.AnnotationFS getAnnotation()
getSubIterator
public java.lang.Iterable<org.apache.uima.cas.text.AnnotationFS> getSubIterator()
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.