com.atlassian.jira.web.pagebuilder
Class AbstractJspDecorator

java.lang.Object
  extended by com.atlassian.jira.web.pagebuilder.AbstractJspDecorator
All Implemented Interfaces:
Decorator, JspDecorator
Direct Known Subclasses:
GeneralJspDecorator

public abstract class AbstractJspDecorator
extends Object
implements Decorator, JspDecorator

Abstract superclass for decorators rendered by JSPs. These decorators require 4 JSPs:

Since:
v6.1

Field Summary
protected  String bodyPostPath
           
protected  String bodyPrePath
           
protected  String headPostPath
           
protected  String headPrePath
           
protected  com.atlassian.webresource.api.assembler.WebResourceAssembler webResourceAssembler
           
 
Constructor Summary
protected AbstractJspDecorator(com.atlassian.webresource.api.assembler.WebResourceAssembler webResourceAssembler, String headPrePath, String headPostPath, String bodyPrePath, String bodyPostPath)
           
 
Method Summary
 void setContext(javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Sets this decorator's context
 void writeOnFlush(Writer writer)
           
 void writePostBody(Writer writer, DecoratablePage.ParsedBody parsedBody)
           
 void writePostHead(Writer writer, DecoratablePage.ParsedHead parsedHead)
           
 void writePreBody(Writer writer, DecoratablePage.ParsedBody parsedBody)
           
 void writePreHead(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

webResourceAssembler

protected final com.atlassian.webresource.api.assembler.WebResourceAssembler webResourceAssembler

headPrePath

protected final String headPrePath

headPostPath

protected final String headPostPath

bodyPrePath

protected final String bodyPrePath

bodyPostPath

protected final String bodyPostPath
Constructor Detail

AbstractJspDecorator

protected AbstractJspDecorator(com.atlassian.webresource.api.assembler.WebResourceAssembler webResourceAssembler,
                               String headPrePath,
                               String headPostPath,
                               String bodyPrePath,
                               String bodyPostPath)
Method Detail

setContext

public void setContext(javax.servlet.ServletContext servletContext,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
Description copied from interface: JspDecorator
Sets this decorator's context

Specified by:
setContext in interface JspDecorator
Parameters:
servletContext - servlet context
request - request
response - response

writePreHead

public void writePreHead(Writer writer)
Specified by:
writePreHead in interface Decorator

writeOnFlush

public void writeOnFlush(Writer writer)
Specified by:
writeOnFlush in interface Decorator

writePostHead

public void writePostHead(Writer writer,
                          DecoratablePage.ParsedHead parsedHead)
Specified by:
writePostHead in interface Decorator

writePreBody

public void writePreBody(Writer writer,
                         DecoratablePage.ParsedBody parsedBody)
Specified by:
writePreBody in interface Decorator

writePostBody

public void writePostBody(Writer writer,
                          DecoratablePage.ParsedBody parsedBody)
Specified by:
writePostBody in interface Decorator


Copyright © 2002-2014 Atlassian. All Rights Reserved.