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
public class SanitizeFilterPlugin extends BaseXMLFilterPlugin
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.- Author:
- Ly Minh Phuong - http://phuonglm.net
-
-
Constructor Summary
Constructors Constructor Description SanitizeFilterPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectdoFilter(Object input)Filters the input data.
-