Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Public Member Functions | Protected Member Functions

org::apache::uima::analysis_engine::impl::BadSegmenter Class Reference

Inheritance diagram for org::apache::uima::analysis_engine::impl::BadSegmenter:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::analysis_engine::impl::BadSegmenter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void batchProcessComplete () throws AnalysisEngineProcessException
void collectionProcessComplete () throws AnalysisEngineProcessException
void destroy ()
int getCasInstancesRequired ()
final Class< CASgetRequiredCasInterface ()
boolean hasNext () throws AnalysisEngineProcessException
void initialize (UimaContext aContext) throws ResourceInitializationException
AbstractCas next () throws AnalysisEngineProcessException
void process (CAS aCAS) throws AnalysisEngineProcessException
final void process (AbstractCas aCAS) throws AnalysisEngineProcessException
void reconfigure () throws ResourceConfigurationException, ResourceInitializationException
void setResultSpecification (ResultSpecification aResultSpec)
void typeSystemInit (TypeSystem aTypeSystem) throws AnalysisEngineProcessException

Protected Member Functions

final UimaContext getContext ()
final CAS getEmptyCAS ()
ResultSpecification getResultSpecification ()

Detailed Description

Segmenter that requests three CASes in every next() method but only asks for four in its getCasInstancesRequired() method. It will run out on the second call. For testing that we can catch segmenters that request too many CASes.

Definition at line 32 of file BadSegmenter.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index