Class FormatUserTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
webwork.view.taglib.WebWorkBodyTagSupport
com.atlassian.jira.web.tags.FormatUserTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class FormatUserTag extends webwork.view.taglib.WebWorkBodyTagSupport
Formats a user given the username (or user object, a type and id) using UserFormats.
Since:
v3.13
See Also:
  • Field Summary

    Fields inherited from class webwork.view.taglib.WebWorkBodyTagSupport

    stack

    Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport

    bodyContent

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

    pageContext

    Fields inherited from interface javax.servlet.jsp.tagext.BodyTag

    EVAL_BODY_BUFFERED, EVAL_BODY_TAG

    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
    int
     
    void
     
    void
     
    void
     
    void
     
    void
    setUserKey(String userKey)
     
    void
    setUserName(String userName)
     

    Methods inherited from class webwork.view.taglib.WebWorkBodyTagSupport

    findString, findValue, getStack, release, setPageContext, setParent, toString

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

    doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent

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

    findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface javax.servlet.jsp.tagext.Tag

    getParent
  • Constructor Details

    • FormatUserTag

      public FormatUserTag()
  • Method Details

    • setUser

      public void setUser(String user)
    • setUserKey

      public void setUserKey(String userKey)
    • setUserName

      public void setUserName(String userName)
    • setType

      public void setType(String type)
    • setId

      public void setId(String id)
      Overrides:
      setId in class javax.servlet.jsp.tagext.TagSupport
    • setEscape

      public void setEscape(Boolean escape)
    • doEndTag

      public int doEndTag() throws javax.servlet.jsp.JspException
      Specified by:
      doEndTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class webwork.view.taglib.WebWorkBodyTagSupport
      Throws:
      javax.servlet.jsp.JspException