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

Public Member Functions | Protected Member Functions | Private Attributes

org::apache::uima::analysis_component::AnalysisComponent_ImplBase Class Reference

Inheritance diagram for org::apache::uima::analysis_component::AnalysisComponent_ImplBase:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::analysis_component::AnalysisComponent_ImplBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void batchProcessComplete () throws AnalysisEngineProcessException
void collectionProcessComplete () throws AnalysisEngineProcessException
void destroy ()
int getCasInstancesRequired ()
Class<?extends AbstractCasgetRequiredCasInterface ()
boolean hasNext () throws AnalysisEngineProcessException
void initialize (UimaContext aContext) throws ResourceInitializationException
AbstractCas next () throws AnalysisEngineProcessException
void process (AbstractCas aCAS) throws AnalysisEngineProcessException
void reconfigure () throws ResourceConfigurationException, ResourceInitializationException
void setResultSpecification (ResultSpecification aResultSpec)

Protected Member Functions

final UimaContext getContext ()
ResultSpecification getResultSpecification ()

Private Attributes

UimaContext mContext
ResultSpecification mResultSpecification

Detailed Description

Implementation base class for AnalysisComponents. Normally developers do not extend this class directly. Instead extend one of the Annotator or CasMultiplier base classes.

This class implements the initialize(UimaContext) method and stores the UimaContext in a private field where it can be accessed via the getContext() method.

This class also provides a "dumb" implementation of the reconfigure() method, which simply calls destroy() followed by initialize(UimaContext). Developers of AnalysisComponents with expensive initialization logic should override this method and provide a more intelligent implementation.

Definition at line 41 of file AnalysisComponent_ImplBase.java.


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

Generated by  Doxygen 1.6.0   Back to index