Class ExternalResourceExample3.Annotator2
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.fit.component.JCasAnnotator_ImplBase
org.apache.uima.fit.examples.resource.ExternalResourceExample3.Annotator2
- All Implemented Interfaces:
- AnalysisComponent
- Enclosing class:
- ExternalResourceExample3
Example annotator that uses the resource. In the process() we only test if the model was
 properly initialized by uimaFIT
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.uima.fit.component.JCasAnnotator_ImplBaseinitializeMethods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBasegetRequiredCasInterface, processMethods inherited from class org.apache.uima.analysis_component.Annotator_ImplBasegetCasInstancesRequired, hasNext, nextMethods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBasebatchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
- 
Constructor Details- 
Annotator2public Annotator2()
 
- 
- 
Method Details- 
processDescription 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 class- JCasAnnotator_ImplBase
- Parameters:
- aJCas- a JCAS that this AnalysisComponent should process.
- Throws:
- AnalysisEngineProcessException- if a problem occurs during processing
 
 
-