org.exoplatform.social.common.xmlprocessor.filters
Class DOMContentEscapeFilterPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.xmlprocessor.BaseXMLFilterPlugin
org.exoplatform.social.common.xmlprocessor.filters.DOMContentEscapeFilterPlugin
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin, Filter
public class DOMContentEscapeFilterPlugin
- extends BaseXMLFilterPlugin
The filter escapes all content of 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.
- Since:
- 1.2.1
- Author:
- Ly Minh Phuong - http://phuonglm.net
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
| Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin |
getDescription, getName, setDescription, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMContentEscapeFilterPlugin
public DOMContentEscapeFilterPlugin()
doFilter
public Object doFilter(Object input)
- Filters the input data.
- Parameters:
input - the input data
- Returns:
- an Object with the result after filtered
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.