Class XCasWriterCasConsumer

All Implemented Interfaces:
CasObjectProcessor, CasProcessor, CasConsumer, ConfigurableResource, Resource

public class XCasWriterCasConsumer extends CasConsumer_ImplBase
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:

  • OutputDirectory - path to directory into which output files will be written

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.

  • Field Details

    • PARAM_OUTPUTDIR

      public static final 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.
      See Also:
  • Constructor Details

    • XCasWriterCasConsumer

      public XCasWriterCasConsumer()
  • Method Details