Class ExternalResourceExample2.Annotator
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.ExternalResourceExample2.Annotator
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
- Enclosing class:
ExternalResourceExample2
public static class ExternalResourceExample2.Annotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Example annotator that uses the share model object. In the process() we only test if the model
was properly initialized by uimaFIT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.uima.fit.component.JCasAnnotator_ImplBase
initializeMethods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, processMethods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, nextMethods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
-
Constructor Details
-
Annotator
public Annotator()
-
-
Method Details
-
process
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException - Specified by:
processin classorg.apache.uima.analysis_component.JCasAnnotator_ImplBase- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
-