Class Scenario3TestAnnotator
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.it.pear_with_typesystem.TestAnnotator_ImplBase
org.apache.uima.it.pear_with_typesystem.Scenario3TestAnnotator
- All Implemented Interfaces:
AnalysisComponent
Annotator for CAS test cases. Does nothing. Its only purpose is to load a type system and provide
a CAS for testing.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TestAnnotator_ImplBase
assertClassIsGlobal, assertClassIsGlobal, assertClassIsLocal, assertClassNotAccessible, assertException, assertFalse, assertTrueMethods inherited from class JCasAnnotator_ImplBase
getRequiredCasInterface, processMethods inherited from class Annotator_ImplBase
getCasInstancesRequired, hasNext, nextMethods inherited from class AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, initialize, reconfigure, setResultSpecification
-
Constructor Details
-
Scenario3TestAnnotator
public Scenario3TestAnnotator()
-
-
Method Details
-
process
Description copied from class:JCasAnnotator_ImplBaseThis method should be overriden by subclasses. Inputs a JCAS to the AnalysisComponent. The AnalysisComponent "owns" this JCAS until such time asAnnotator_ImplBase.hasNext()is called and returns false (seeAnalysisComponentfor details).- Specified by:
processin classJCasAnnotator_ImplBase- Parameters:
aJCas- a JCAS that this AnalysisComponent should process.- Throws:
AnalysisEngineProcessException- if a problem occurs during processing
-