org.exoplatform.social.common.xmlprocessor.filters
Class DOMContentEscapeFilterPlugin

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.social.common.xmlprocessor.BaseXMLFilterPlugin
          extended by 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

Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
DOMContentEscapeFilterPlugin()
           
 
Method Summary
 Object doFilter(Object input)
          Filters the input data.
 
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
 

Constructor Detail

DOMContentEscapeFilterPlugin

public DOMContentEscapeFilterPlugin()
Method Detail

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–2014 eXo Platform SAS. All rights reserved.