public class RawDocumentWriterStep extends BasePipelineStep
RawDocument to an output file.
WARNING: This step eats the RawDocument Event after writing its contents.
This step should normally be used as the last step in a pipeline when an output file is needed.
This class implements the IPipelineStep
interface for a step that takes a RawDocument and creates an output
file from it. The generated file is passed on through a new RawDocument.
| Constructor and Description |
|---|
RawDocumentWriterStep()
Creates a new RawDocumentWriterStep object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
Event |
handleRawDocument(Event event)
Handles the
EventType.RAW_DOCUMENT event. |
void |
setOutputURI(URI outputURI) |
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale, setTargetLocalepublic RawDocumentWriterStep()
public void setOutputURI(URI outputURI)
public String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic Event handleRawDocument(Event event)
BasePipelineStepEventType.RAW_DOCUMENT event.handleRawDocument in class BasePipelineStepevent - event to handle.Copyright © 2022. All rights reserved.