edu.internet2.middleware.grouper.util
Class GrouperHtmlFilter

java.lang.Object
  extended by edu.internet2.middleware.grouper.util.GrouperHtmlFilter
All Implemented Interfaces:
HtmlFilter

public class GrouperHtmlFilter
extends Object
implements HtmlFilter

default implementation of html filter


Field Summary
static Set<String> allowedHtml
          allowed html tags
 
Constructor Summary
GrouperHtmlFilter()
           
 
Method Summary
static void allowTag(String tag)
          allo tag
static String escapeHtml(String string)
           
 String filterHtml(String html)
          filter html from a string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowedHtml

public static Set<String> allowedHtml
allowed html tags

Constructor Detail

GrouperHtmlFilter

public GrouperHtmlFilter()
Method Detail

escapeHtml

public static String escapeHtml(String string)
Parameters:
string -
Returns:
the string

allowTag

public static void allowTag(String tag)
allo tag

Parameters:
tag -

filterHtml

public String filterHtml(String html)
Description copied from interface: HtmlFilter
filter html from a string

Specified by:
filterHtml in interface HtmlFilter
Returns:
the html to filter
See Also:
HtmlFilter.filterHtml(java.lang.String)