org.apache.ctakes.core.cc
Class CasConsumer

java.lang.Object
  extended by org.apache.uima.resource.Resource_ImplBase
      extended by org.apache.uima.resource.ConfigurableResource_ImplBase
          extended by org.apache.uima.collection.CasConsumer_ImplBase
              extended by org.apache.ctakes.core.cc.CasConsumer
All Implemented Interfaces:
org.apache.uima.collection.base_cpm.CasObjectProcessor, org.apache.uima.collection.base_cpm.CasProcessor, org.apache.uima.collection.CasConsumer, org.apache.uima.resource.ConfigurableResource, org.apache.uima.resource.Resource

public class CasConsumer
extends org.apache.uima.collection.CasConsumer_ImplBase

CasConsumer that writes a JCas (the current view) to an xml file

Author:
Mayo Clinic

Field Summary
 
Fields inherited from interface org.apache.uima.resource.Resource
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
 
Constructor Summary
CasConsumer()
           
 
Method Summary
 void initialize()
          Read in configuration parameters
 void processCas(org.apache.uima.cas.CAS cas)
          Create an xml file from the data in the cas.
 
Methods inherited from class org.apache.uima.collection.CasConsumer_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, reconfigure, typeSystemInit
 
Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
 
Methods inherited from class org.apache.uima.resource.Resource_ImplBase
getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resource.ConfigurableResource
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
 
Methods inherited from interface org.apache.uima.resource.Resource
getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
 

Constructor Detail

CasConsumer

public CasConsumer()
Method Detail

initialize

public void initialize()
                throws org.apache.uima.resource.ResourceInitializationException
Read in configuration parameters

Overrides:
initialize in class org.apache.uima.collection.CasConsumer_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException

processCas

public void processCas(org.apache.uima.cas.CAS cas)
                throws org.apache.uima.resource.ResourceProcessException
Create an xml file from the data in the cas.

Throws:
org.apache.uima.resource.ResourceProcessException