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

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.LineBreakerFilterPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, Filter

public class LineBreakerFilterPlugin
extends BaseXMLFilterPlugin

This Filter repace native line break character in String input and replace it with HTML /
tag.

Author:
Ly Minh Phuong - http://phuonglm.net

Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
LineBreakerFilterPlugin()
           
 
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

LineBreakerFilterPlugin

public LineBreakerFilterPlugin()
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.