com.atlassian.jira.web.tags
Class JiraApplyDecoratorTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
              extended by com.atlassian.jira.web.tags.JiraApplyDecoratorTag
All Implemented Interfaces:
com.opensymphony.module.sitemesh.RequestConstants, Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class JiraApplyDecoratorTag
extends com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag

This is a very simple subclass of the SiteMesh ApplyDecoratorTag which automatically sets the encoding of the decorator to JIRA's encoding value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, DISABLE_BUFFER_AND_DECORATION, MAXIMUM_OUTPUT_EXCEEDED_LENGTH, PAGE, ROBOT, SECONDARY_STORAGE_LIMIT
 
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
JiraApplyDecoratorTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void setId(String id)
           
 
Methods inherited from class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
doAfterBody, setContentType, setDecorator, setEncoding, setName, setPage, setTitle
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, 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, setPageContext, setParent
 

Constructor Detail

JiraApplyDecoratorTag

public JiraApplyDecoratorTag()
Method Detail

setId

public void setId(String id)
Overrides:
setId in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class com.opensymphony.module.sitemesh.taglib.page.ApplyDecoratorTag
Throws:
javax.servlet.jsp.JspException


Copyright © 2002-2014 Atlassian. All Rights Reserved.