org.utgenome.gwt.utgb.server.util.xml
Class HTMLContentFilter
java.lang.Object
org.utgenome.gwt.utgb.server.util.xml.HTMLContentFilter
- All Implemented Interfaces:
- TextContentFilter
public class HTMLContentFilter
- extends Object
- implements TextContentFilter
Removes illegal characters that cannot be used as XML text contents into entity references.
- Author:
- leo
Method Summary |
String |
filter(String content)
replaces &, <, >, ", ' characters into corresponding entity references |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLContentFilter
public HTMLContentFilter()
filter
public String filter(String content)
- replaces &, <, >, ", ' characters into corresponding entity references
- Specified by:
filter
in interface TextContentFilter
- Parameters:
content
- the conversion target string
- Returns:
Copyright © 2007-2012 utgenome.org. All Rights Reserved.