Class SanitizeTag

java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
org.duracloud.account.jsp.SanitizeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class SanitizeTag extends javax.servlet.jsp.tagext.SimpleTagSupport
Uses JSoup.clean to sanitize html markup.
Author:
Daniel Bernstein
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     

    Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport

    findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SanitizeTag

      public SanitizeTag()
  • Method Details

    • setText

      public void setText(String text)
    • doTag

      public void doTag() throws IOException
      Specified by:
      doTag in interface javax.servlet.jsp.tagext.SimpleTag
      Overrides:
      doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
      Throws:
      IOException