public class AnnotationPrinter extends CasConsumer_ImplBase implements CasObjectProcessor
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_EXTERNAL_OVERRIDE_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT| Constructor and Description |
|---|
AnnotationPrinter() |
| Modifier and Type | Method and Description |
|---|---|
void |
batchProcessComplete(ProcessTrace aTrace)
Called when a batch of processing is completed.
|
void |
collectionProcessComplete(ProcessTrace aTrace)
Called when the entire collection is completed.
|
void |
destroy()
Called if clean up is needed in case of exit under error conditions.
|
void |
initialize()
Initializes this CAS Consumer with the parameters specified in the descriptor.
|
void |
processCas(CAS aCAS)
Processes the CasContainer which was populated by the TextAnalysisEngines.
|
void |
reconfigure()
Reconfigures the parameters of this Consumer.
|
getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessCas, typeSystemInitgetProcessingResourceMetaData, isReadOnly, isStatelessgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLoggerpublic void initialize()
throws ResourceInitializationException
initialize in class CasConsumer_ImplBaseResourceInitializationException - if there is error in initializing the resourcespublic void processCas(CAS aCAS) throws ResourceProcessException
processCas in interface CasObjectProcessoraCAS - CasContainer which has been populated by the TAEsResourceProcessException - if there is an error in processing the ResourceCasObjectProcessor.processCas(CAS)public void batchProcessComplete(ProcessTrace aTrace) throws ResourceProcessException, IOException
batchProcessComplete in interface CasProcessorbatchProcessComplete in class CasConsumer_ImplBaseaTrace - ProcessTrace object that will log events in this method.ResourceProcessException - if there is an error in processing the ResourceIOException - if there is an IO ErrorCasProcessor.batchProcessComplete(ProcessTrace)public void collectionProcessComplete(ProcessTrace aTrace) throws ResourceProcessException, IOException
collectionProcessComplete in interface CasProcessorcollectionProcessComplete in class CasConsumer_ImplBaseaTrace - ProcessTrace object that will log events in this method.ResourceProcessException - if there is an error in processing the ResourceIOException - if there is an IO ErrorCasProcessor.collectionProcessComplete(ProcessTrace)public void reconfigure()
throws ResourceConfigurationException
reconfigure in interface ConfigurableResourcereconfigure in class CasConsumer_ImplBaseResourceConfigurationException - if the configuration parameter settings are invalidConfigurableResource.reconfigure()public void destroy()
destroy in interface Resourcedestroy in class CasConsumer_ImplBaseResource.destroy()Copyright © 2015. All rights reserved.