@PipeBitInfo(name="XMI Writer", description="Writes XMI files with full representation of input text and all extracted information.", role=WRITER, dependencies=DOCUMENT_ID) public class XmiWriterCasConsumerCtakes extends org.apache.uima.fit.component.CasConsumer_ImplBase
OutputDirectory
- path to directory into which output files will be writtenModifier 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 |
---|
XmiWriterCasConsumerCtakes() |
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(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.cas.CAS aCAS)
Processes the CAS which was populated by the TextAnalysisEngines.
|
getRequiredCasInterface, process, typeSystemInit
getCasInstancesRequired, hasNext, next
public static final String PARAM_OUTPUTDIR
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.CasConsumer_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.cas.CAS aCAS) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
aCAS
- a CAS which has been populated by the TAEsorg.apache.uima.analysis_engine.AnalysisEngineProcessException
CasObjectProcessor.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 © 2012-2017 The Apache Software Foundation. All Rights Reserved.