public class FilterEventsToRawDocumentStep extends BasePipelineStep
RawDocument. This class implements the
IPipelineStep interface for a step that
takes filter events and creates an output document using the IFilterWriter
implementation provided by the filter through the START_DOCUMENT event.
When the document is completed, a RawDocument is generated.| Constructor and Description |
|---|
FilterEventsToRawDocumentStep()
Create a new FilterEventsToRawDocumentStep object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getName() |
Event |
handleEvent(Event event)
Catch all incoming
Events and write them out to the output document. |
protected Event |
handleStartDocument(Event event) |
void |
setOutputEncoding(String outputEncoding) |
void |
setOutputStream(OutputStream outputStream) |
void |
setOutputURI(URI outputURI) |
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, getParameters, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setParameterspublic FilterEventsToRawDocumentStep()
public void setOutputURI(URI outputURI)
public void setOutputStream(OutputStream outputStream)
public void setTargetLocale(LocaleId targetLocale)
public void setOutputEncoding(String outputEncoding)
public String getName()
public String getDescription()
public Event handleEvent(Event event)
Events and write them out to the output document.
This step generates NO_OP events until the input events are exhausted, at
which point a RawDocument event is sent.handleEvent in interface IPipelineStephandleEvent in class BasePipelineStepprotected Event handleStartDocument(Event event)
handleStartDocument in class BasePipelineStepCopyright © 2020. All rights reserved.