public class FilterEventsWriterStep extends BasePipelineStep
IPipelineStep
interface for a step that takes filter events and creates an output document
using a provided IFilterWriter implementation. Each event and its
resource are passed on to the next step.| Constructor and Description |
|---|
FilterEventsWriterStep()
Creates a new FilterEventsWriterStep object.
|
FilterEventsWriterStep(IFilterWriter filterWriter)
Creates a new FilterEventsWriterStep object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getDescription() |
String |
getName() |
Event |
handleEvent(Event event) |
void |
setDocumentRoots(String newDocumentsRoot)
Sets the root of the documents to process.
|
void |
setExecutionContext(ExecutionContext context) |
void |
setFilterConfigurationId(String filterConfigId) |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper) |
void |
setFilterWriter(IFilterWriter filterWriter)
Sets the filter writer for this EventsWriterStep object.
|
void |
setOutputEncoding(String outputEncoding) |
void |
setOutputStream(OutputStream outputStream) |
void |
setOutputURI(URI outputURI) |
void |
setTargetLocale(LocaleId targetLocale) |
cancel, getHelpLocation, getParameters, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isDone, isLastOutputStep, setLastOutputStep, setParameterspublic FilterEventsWriterStep()
public FilterEventsWriterStep(IFilterWriter filterWriter)
filterWriter - the writer used to convert Events to a documentpublic void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
public void setFilterConfigurationId(String filterConfigId)
public void setOutputURI(URI outputURI)
public void setOutputStream(OutputStream outputStream)
public void setTargetLocale(LocaleId targetLocale)
public void setOutputEncoding(String outputEncoding)
public void setExecutionContext(ExecutionContext context)
public void setFilterWriter(IFilterWriter filterWriter)
filterWriter - the filter writer to use.public void setDocumentRoots(String newDocumentsRoot)
documentsRoot - documents root.public String getName()
public String getDescription()
public Event handleEvent(Event event)
handleEvent in interface IPipelineStephandleEvent in class BasePipelineSteppublic void destroy()
destroy in interface IPipelineStepdestroy in class BasePipelineStepCopyright © 2019. All rights reserved.