Class RawDocumentToFilterEventsStep

  • All Implemented Interfaces:
    IPipelineStep

    public class RawDocumentToFilterEventsStep
    extends BasePipelineStep
    Converts a 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.

    See Also:
    FilterEventsToRawDocumentStep, FilterEventsWriterStep
    • Constructor Detail

      • RawDocumentToFilterEventsStep

        public RawDocumentToFilterEventsStep()
        Creates a new RawDocumentToFilterEventsStep object. This constructor is needed to be able to instantiate an object from newInstance()
      • RawDocumentToFilterEventsStep

        public RawDocumentToFilterEventsStep​(IFilter filter)
        Creates a new RawDocumentToFilterEventsStep object with a given filter. Use this constructor to create an object that is using a filter set using the one provided here, or using setFilter(IFilter), not using the filter configuration mapper of the pipeline context.
        Parameters:
        filter - the filter to set.