public class RawDocumentToFilterEventsStep extends BasePipelineStep
RawDocument into filter events.
This class implements the IPipelineStep
interface for a step that takes a RawDocument and to generate its
corresponding events either: a provided IFilter implementation, or the
filter configuration mapper accessible through the pipeline's context.
This step can also work with the filters that generates multiple documents.
| Constructor and Description |
|---|
RawDocumentToFilterEventsStep()
Creates a new RawDocumentToFilterEventsStep object.
|
RawDocumentToFilterEventsStep(IFilter filter)
Creates a new RawDocumentToFilterEventsStep object with a given filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
destroy() |
String |
getDescription() |
String |
getName() |
Event |
handleEvent(Event event) |
boolean |
isDone() |
void |
setFilter(IFilter filter) |
void |
setFilterConfigurationId(String filterConfigId) |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper) |
getHelpLocation, getParameters, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, handleTextUnit, isLastOutputStep, setLastOutputStep, setParameterspublic RawDocumentToFilterEventsStep()
public RawDocumentToFilterEventsStep(IFilter filter)
setFilter(IFilter), not using
the filter configuration mapper of the pipeline context.filter - the filter to set.public void setFilter(IFilter filter)
public void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
public void setFilterConfigurationId(String filterConfigId)
public String getName()
public String getDescription()
public Event handleEvent(Event event)
handleEvent in interface IPipelineStephandleEvent in class BasePipelineSteppublic boolean isDone()
isDone in interface IPipelineStepisDone in class BasePipelineSteppublic void destroy()
destroy in interface IPipelineStepdestroy in class BasePipelineSteppublic void cancel()
cancel in interface IPipelineStepcancel in class BasePipelineStepCopyright © 2020. All rights reserved.