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

Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes

org::apache::uima::tools::components::XCasWriterCasConsumer Class Reference

Inheritance diagram for org::apache::uima::tools::components::XCasWriterCasConsumer:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::tools::components::XCasWriterCasConsumer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void batchProcessComplete (ProcessTrace arg0) throws ResourceProcessException, IOException
void collectionProcessComplete (ProcessTrace arg0) throws ResourceProcessException, IOException
void destroy ()
CasManager getCasManager ()
Object getConfigParameterValue (String aParamName)
Object getConfigParameterValue (String aGroupName, String aParamName)
Logger getLogger ()
ResourceMetaData getMetaData ()
ProcessingResourceMetaData getProcessingResourceMetaData ()
ResourceManager getResourceManager ()
UimaContext getUimaContext ()
UimaContextAdmin getUimaContextAdmin ()
void initialize () throws ResourceInitializationException
boolean initialize (ResourceSpecifier aSpecifier, Map< String, Object > aAdditionalParams) throws ResourceInitializationException
final boolean isReadOnly ()
boolean isStateless ()
void processCas (CAS aCAS) throws ResourceProcessException
void processCas (CAS[] aCASes) throws ResourceProcessException
void reconfigure () throws ResourceConfigurationException
void setConfigParameterValue (String aParamName, Object aValue)
void setConfigParameterValue (String aGroupName, String aParamName, Object aValue)
void setLogger (Logger aLogger)
void typeSystemInit (TypeSystem arg0) throws ResourceInitializationException

Static Public Member Functions

static CasConsumerDescription getDescription () throws InvalidXMLException
static URL getDescriptorURL ()

Static Public Attributes

static final String PARAM_AGGREGATE_SOFA_MAPPINGS = "AGGREGATE_SOFA_MAPPINGS"
static final String PARAM_CONFIG_PARAM_SETTINGS = "CONFIG_PARAM_SETTINGS"
static final String PARAM_OUTPUTDIR = "OutputDirectory"
static final String PARAM_PERFORMANCE_TUNING_SETTINGS = "PERFORMANCE_TUNING_SETTINGS"
static final String PARAM_RESOURCE_MANAGER = "RESOURCE_MANAGER"
static final String PARAM_UIMA_CONTEXT = "UIMA_CONTEXT"

Protected Member Functions

void setMetaData (ResourceMetaData aMetaData)

Private Member Functions

void writeXCas (CAS aCas, File name) throws IOException, SAXException

Private Attributes

int mDocNum
File mOutputDir

Detailed Description

A simple CAS consumer that generates XCAS (XML representation of the CAS) files in the filesystem. The output files are written using the UTF-8 charset.

This CAS Consumer takes one parameters:

The XML descriptor for this collection reader is stored in the uima.jar file as org/apache/uima/util/XCasWriterCasConsumer.xml. It can be accessed via the static method getDescription(), which parses the descriptor and returns a CasConsumerDescription object.

Definition at line 61 of file XCasWriterCasConsumer.java.


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

Generated by  Doxygen 1.6.0   Back to index