Class ImageTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.springframework.web.servlet.tags.RequestContextAwareTag
org.springframework.web.servlet.tags.HtmlEscapingAwareTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class ImageTag extends AbstractStaticAssetTag
Write an <img/> tag.
Author:
poirigui
See Also:
  • Field Summary

    Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag

    logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
     
    void
     
    void
    setHeight(String height)
     
    void
     

    Methods inherited from class ubic.gemma.web.taglib.AbstractStaticAssetTag

    resolveUrl, setSrc, writeSrcAttribute

    Methods inherited from class org.springframework.web.servlet.tags.HtmlEscapingAwareTag

    isDefaultHtmlEscape, isHtmlEscape, setHtmlEscape

    Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag

    doCatch, doFinally, doStartTag, getRequestContext

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

    doAfterBody, doEndTag, 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
  • Constructor Details

    • ImageTag

      public ImageTag()
  • Method Details

    • doStartTagInternal

      protected int doStartTagInternal() throws javax.servlet.jsp.JspException
      Specified by:
      doStartTagInternal in class org.springframework.web.servlet.tags.RequestContextAwareTag
      Throws:
      javax.servlet.jsp.JspException
    • setAlt

      public void setAlt(@Nullable String alt)
    • setHeight

      public void setHeight(@Nullable String height)
    • setWidth

      public void setWidth(@Nullable String width)