Interface XMLProcessor

All Known Implementing Classes:
XMLProcessorImpl

public interface XMLProcessor
The Processor is responsible for processing the input by pushing the input through filter chains and returns result. This processor also allows configuring external filter component plugin.
  • Method Details

    • addFilter

      void addFilter(Filter filter)
      Adds a defined filter to this processor.
      Parameters:
      filter - a defined filter
    • removeFilter

      void removeFilter(Filter addedFilter)
      Removes a defined filter which is added.
      Parameters:
      addedFilter - the added filter
    • addFilterPlugin

      void addFilterPlugin(BaseXMLFilterPlugin filterComponentPlugin)
      Adds a defined filter component plugin to this processor.
      Parameters:
      filterComponentPlugin - the filter component plugin
    • removeFilterPlugin

      void removeFilterPlugin(BaseXMLFilterPlugin filterComponentPlugin)
      Removes the existing filter component plugin from this processor.
      Parameters:
      filterComponentPlugin - the existing filter component plugin.
    • process

      Object process(Object input)
      Processes an input object though filter chains.
      Parameters:
      input - the input object
      Returns:
      new processed object by added filters.