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.
- Since:
- 1.2.1
- Author:
- Ly Minh Phuong - http://phuonglm.net
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a defined filter to this processor.voidaddFilterPlugin(BaseXMLFilterPlugin filterComponentPlugin) Adds a defined filter component plugin to this processor.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 Details
-
addFilter
Adds a defined filter to this processor.- Parameters:
filter- a defined filter
-
removeFilter
Removes a defined filter which is added.- Parameters:
addedFilter- the added filter
-
addFilterPlugin
Adds a defined filter component plugin to this processor.- Parameters:
filterComponentPlugin- the filter component plugin
-
removeFilterPlugin
Removes the existing filter component plugin from this processor.- Parameters:
filterComponentPlugin- the existing filter component plugin.
-
process
Processes an input object though filter chains.- Parameters:
input- the input object- Returns:
- new processed object by added filters.
-