Package org.apache.uima.fit.component
Class JCasConsumer_ImplBase
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.JCasConsumer_ImplBase
- All Implemented Interfaces:
- AnalysisComponent
- Direct Known Subclasses:
- XmiWriter
Base class for JCas consumers (actually a
 
JCasAnnotator_ImplBase) which initializes itself based
 on annotations.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinitialize(UimaContext context) Performs any startup tasks required by this component.Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBasegetRequiredCasInterface, process, 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- 
JCasConsumer_ImplBasepublic JCasConsumer_ImplBase()
 
- 
- 
Method Details- 
initializeDescription copied from interface:AnalysisComponentPerforms any startup tasks required by this component. The framework calls this method only once, just after the AnalysisComponent has been instantiated.The framework supplies this AnalysisComponent with a reference to the UimaContextthat it will use, for example to access configuration settings or resources. This AnalysisComponent should store a reference to its theUimaContextfor later use.- Specified by:
- initializein interface- AnalysisComponent
- Overrides:
- initializein class- AnalysisComponent_ImplBase
- Parameters:
- context- Provides access to services and resources managed by the framework. This includes configuration parameters, logging, and access to external resources.
- Throws:
- ResourceInitializationException- if this AnalysisComponent cannot initialize successfully.
 
 
-