Class IconTag

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

    public class IconTag
    extends javax.servlet.jsp.tagext.TagSupport
    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: 119523 $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String alt  
      protected Channel channel  
      protected java.lang.String css  
      protected java.lang.String htmlAttributes  
      static java.lang.String REVISION  
      protected java.lang.String src  
      protected java.lang.String title  
      • 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
      IconTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clean()  
      int doEndTag()  
      int doStartTag()  
      void setAlt​(java.lang.String alt)  
      void setCss​(java.lang.String css)  
      void setHtmlAttributes​(java.lang.String htmlAttributes)  
      void setSrc​(java.lang.String src)  
      void setTitle​(java.lang.String title)  
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • channel

        protected Channel channel
      • htmlAttributes

        protected java.lang.String htmlAttributes
      • css

        protected java.lang.String css
      • title

        protected java.lang.String title
      • alt

        protected java.lang.String alt
      • src

        protected java.lang.String src
    • Constructor Detail

      • IconTag

        public IconTag()
    • Method Detail

      • setHtmlAttributes

        public void setHtmlAttributes​(java.lang.String htmlAttributes)
      • setCss

        public void setCss​(java.lang.String css)
      • setTitle

        public void setTitle​(java.lang.String title)
      • setAlt

        public void setAlt​(java.lang.String alt)
      • setSrc

        public void setSrc​(java.lang.String src)
      • clean

        protected void clean()
      • doStartTag

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

        public int doEndTag()
        Specified by:
        doEndTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doEndTag in class javax.servlet.jsp.tagext.TagSupport