public interface JCasIterator
AnalysisEngine.processAndOutputNewCASes(JCas) method.| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasNext()Checks if there are more JCASes to be returned by the iterator. | 
| JCas | next()Gets the next JCAS from the iterator. | 
| void | release()Releases any CASes owned by this JCasIterator. | 
boolean hasNext()
         throws AnalysisEngineProcessException
AnalysisEngineProcessException - if a failure has occurred during processing. If an exception is thrown, this
           indicates that processing has aborted, so no further calls to the JCasIterator
           should be made.JCas next() throws AnalysisEngineProcessException
AnalysisEngineProcessException - if a failure has occurred during processing. If an exception is thrown, this
           indicates that processing has aborted, so no further calls to the JCasIterator
           should be made.void release()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.