org.exoplatform.social.common.xmlprocessor.filters
Class DOMLineBreakerFilterPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.common.xmlprocessor.BaseXMLFilterPlugin
org.exoplatform.social.common.xmlprocessor.filters.DOMLineBreakerFilterPlugin
- All Implemented Interfaces:
- org.exoplatform.container.component.ComponentPlugin, Filter
public class DOMLineBreakerFilterPlugin
- extends BaseXMLFilterPlugin
This filter checks if DOM tree Content contain native line-break character and replace it with
<br /> tags.
- Since:
- 1.2.1
- Author:
- Ly Minh Phuong - http://phuonglm.net
| Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin |
desc, name |
|
Method Summary |
Object |
doFilter(Object input)
Filters any new line characters by new line html tag (<br>). |
| 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 |
DOMLineBreakerFilterPlugin
public DOMLineBreakerFilterPlugin()
doFilter
public Object doFilter(Object input)
- Filters any new line characters by new line html tag (<br>).
- Parameters:
input - the input data
- Returns:
- the filtered input
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.