Class SanitizeFilterPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.xmlprocessor.BaseXMLFilterPlugin
org.exoplatform.social.common.xmlprocessor.filters.SanitizeFilterPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,Filter
The filter escapes all the DOMTree to make sure it cleaned.
Note: this filter cannot detect that content escaped or not so make sure that you don't use it twice or
using it with escaped content.
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Constructor Details
-
SanitizeFilterPlugin
public SanitizeFilterPlugin()
-
-
Method Details
-
doFilter
Filters the input data.- Parameters:
input- the input data- Returns:
- an Object with the result after filtered
-