Class DataIconTag

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class DataIconTag
    extends IconTag
    Display the img html tag for given Data. Warning, if you specify one of the following attributes (css,title,alt), the override of Data.getDataIconHtml() will not be called. The tag will directly call HtmlUtil.getHtmlIcon(...).
    Version:
    $Revision: 67007 $
    Author:
    Kevin Bransard
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean addTextualAlternative  
      protected java.lang.Class<?> clazz  
      protected Data data  
      static java.lang.String REVISION  
      • Fields inherited from class javax.servlet.jsp.tagext.TagSupport

        id, pageContext
      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Constructor Summary

      Constructors 
      Constructor Description
      DataIconTag()  
    • Field Detail

      • data

        protected Data data
      • clazz

        protected java.lang.Class<?> clazz
      • addTextualAlternative

        protected boolean addTextualAlternative
    • Constructor Detail

      • DataIconTag

        public DataIconTag()
    • Method Detail

      • setData

        public void setData​(Data data)
      • setClass

        public void setClass​(java.lang.Class<?> c)
      • setAddTextualAlternative

        public void setAddTextualAlternative​(boolean addTextualAlternative)
      • clean

        protected void clean()
        Overrides:
        clean in class IconTag
      • prepareIconAttributes

        protected void prepareIconAttributes()
      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class IconTag
        Throws:
        javax.servlet.jsp.JspException