org.mmbase.applications.vprowizards.spring.util
Class HTMLFilterUtils

java.lang.Object
  extended by 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

Field Summary
static String ENCODING
           
 
Constructor Summary
HTMLFilterUtils()
           
 
Method Summary
static String filter(String input)
           
static String filter(String input, org.cyberneko.html.filters.ElementRemover remover)
           
static boolean isHTML(String input)
           
static String removeAllTags(String input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCODING

public static final String ENCODING
See Also:
Constant Field Values
Constructor Detail

HTMLFilterUtils

public HTMLFilterUtils()
Method Detail

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