Interface XMLProcessor
-
- All Known Implementing Classes:
XMLProcessorImpl
public interface XMLProcessorThe 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.- Since:
- 1.2.1
- Author:
- Ly Minh Phuong - http://phuonglm.net
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddFilter(Filter filter)Adds a defined filter to this processor.voidaddFilterPlugin(BaseXMLFilterPlugin filterComponentPlugin)Adds a defined filter component plugin to this processor.Objectprocess(Object input)Processes an input object though filter chains.voidremoveFilter(Filter addedFilter)Removes a defined filter which is added.voidremoveFilterPlugin(BaseXMLFilterPlugin filterComponentPlugin)Removes the existing filter component plugin from this processor.
-
-
-
Method Detail
-
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.
-
-