Class XMLProcessorImpl
java.lang.Object
org.exoplatform.social.common.xmlprocessor.XMLProcessorImpl
- All Implemented Interfaces:
XMLProcessor
Implementation of
XMLProcessor.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
XMLProcessorImpl
public XMLProcessorImpl()Constructor
-
-
Method Details
-
addFilter
Adds a defined filter to this processor.- Specified by:
addFilterin interfaceXMLProcessor- Parameters:
filter- a defined filter
-
removeFilter
Removes a defined filter which is added.- Specified by:
removeFilterin interfaceXMLProcessor- Parameters:
addedFilter- the added filter
-
addFilterPlugin
Adds a defined filter component plugin to this processor.- Specified by:
addFilterPluginin interfaceXMLProcessor- Parameters:
filterComponentPlugin- the filter component plugin
-
removeFilterPlugin
Removes the existing filter component plugin from this processor.- Specified by:
removeFilterPluginin interfaceXMLProcessor- Parameters:
filterComponentPlugin- the existing filter component plugin.
-
process
Processes an input object though filter chains.- Specified by:
processin interfaceXMLProcessor- Parameters:
input- the input object- Returns:
- new processed object by added filters.
-