org.mmbase.applications.vprowizards.spring.util
Class HTMLFilterUtils
java.lang.Object
org.mmbase.applications.vprowizards.spring.util.HTMLFilterUtils
public class HTMLFilterUtils
- extends Object
HTMLFilter contains utility methods for filtering and html used
in input fields
Very similar to TagStripperFactory
- Author:
- Peter Maas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
HTMLFilterUtils
public HTMLFilterUtils()
isHTML
public static boolean isHTML(String input)
filter
public static String filter(String input)
throws org.apache.xerces.xni.XNIException,
IOException
- Throws:
org.apache.xerces.xni.XNIException
IOException
filter
public static String filter(String input,
org.cyberneko.html.filters.ElementRemover remover)
throws org.apache.xerces.xni.XNIException,
IOException
- Throws:
org.apache.xerces.xni.XNIException
IOException
removeAllTags
public static String removeAllTags(String input)
MMBase 2.0-SNAPSHOT - null