public class XmiWriterCasConsumer
extends org.apache.uima.collection.CasConsumer_ImplBase
This CAS Consumer takes one parameter:
OutputDirectory - path to directory into which output files will be written| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_OUTPUTDIR
Name of configuration parameter that must be set to the path of a directory into which the
output files will be written.
|
| Constructor and Description |
|---|
XmiWriterCasConsumer() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.uima.collection.CasConsumerDescription |
getDescription()
Parses and returns the descriptor for this collection reader.
|
static URL |
getDescriptorURL() |
void |
initialize() |
void |
processCas(org.apache.uima.cas.CAS aCAS)
Processes the CAS which was populated by the TextAnalysisEngines.
|
batchProcessComplete, collectionProcessComplete, destroy, getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, reconfigure, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, loadUserClass, loadUserClassOrThrow, setContextHolder, setContextHolderX, setLogger, setMetaData, withContextHolderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String PARAM_OUTPUTDIR
public void initialize()
throws org.apache.uima.resource.ResourceInitializationException
initialize in class org.apache.uima.collection.CasConsumer_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void processCas(org.apache.uima.cas.CAS aCAS)
throws org.apache.uima.resource.ResourceProcessException
aCAS - a CAS which has been populated by the TAEsorg.apache.uima.resource.ResourceProcessException - if there is an error in processing the ResourceCasObjectProcessor.processCas(org.apache.uima.cas.CAS)public static org.apache.uima.collection.CasConsumerDescription getDescription()
throws org.apache.uima.util.InvalidXMLException
org.apache.uima.util.InvalidXMLException - if the descriptor is invalid or missingpublic static URL getDescriptorURL()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.