edu.internet2.middleware.grouper.util
Class GrouperHtmlFilter
java.lang.Object
edu.internet2.middleware.grouper.util.GrouperHtmlFilter
- All Implemented Interfaces:
- HtmlFilter
public class GrouperHtmlFilter
- extends Object
- implements HtmlFilter
default implementation of html filter
allowedHtml
public static Set<String> allowedHtml
- allowed html tags
GrouperHtmlFilter
public GrouperHtmlFilter()
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)