com.atlassian.confluence.util.profiling
Class VelocitySitemeshPage

java.lang.Object
  extended by com.atlassian.confluence.util.profiling.VelocitySitemeshPage
All Implemented Interfaces:
com.opensymphony.module.sitemesh.HTMLPage, com.opensymphony.module.sitemesh.Page

public class VelocitySitemeshPage
extends java.lang.Object
implements com.opensymphony.module.sitemesh.HTMLPage

Sitemesh page with a getProperty method that is declared as HTML safe


Constructor Summary
VelocitySitemeshPage(com.opensymphony.module.sitemesh.HTMLPage delegatePage)
           
 
Method Summary
 void addProperty(java.lang.String s, java.lang.String s1)
           
 java.lang.String getBody()
           
 boolean getBooleanProperty(java.lang.String s)
           
 int getContentLength()
           
 java.lang.String getHead()
           
 int getIntProperty(java.lang.String s)
           
 long getLongProperty(java.lang.String s)
           
 java.lang.String getPage()
           
 java.util.Map getProperties()
           
 java.lang.String getProperty(java.lang.String s)
           
 java.lang.String[] getPropertyKeys()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 java.lang.String getTitle()
           
 boolean isFrameSet()
           
 boolean isPropertySet(java.lang.String s)
           
 void setFrameSet(boolean b)
           
 void setRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
           
 void writeBody(java.io.Writer writer)
           
 void writeHead(java.io.Writer writer)
           
 void writePage(java.io.Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocitySitemeshPage

public VelocitySitemeshPage(com.opensymphony.module.sitemesh.HTMLPage delegatePage)
Method Detail

writePage

public void writePage(java.io.Writer writer)
               throws java.io.IOException
Specified by:
writePage in interface com.opensymphony.module.sitemesh.Page
Throws:
java.io.IOException

getPage

public java.lang.String getPage()
Specified by:
getPage in interface com.opensymphony.module.sitemesh.Page

writeBody

public void writeBody(java.io.Writer writer)
               throws java.io.IOException
Specified by:
writeBody in interface com.opensymphony.module.sitemesh.Page
Throws:
java.io.IOException

getBody

public java.lang.String getBody()
Specified by:
getBody in interface com.opensymphony.module.sitemesh.Page

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface com.opensymphony.module.sitemesh.Page

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface com.opensymphony.module.sitemesh.Page

getProperty

public java.lang.String getProperty(java.lang.String s)
Specified by:
getProperty in interface com.opensymphony.module.sitemesh.Page

getIntProperty

public int getIntProperty(java.lang.String s)
Specified by:
getIntProperty in interface com.opensymphony.module.sitemesh.Page

getLongProperty

public long getLongProperty(java.lang.String s)
Specified by:
getLongProperty in interface com.opensymphony.module.sitemesh.Page

getBooleanProperty

public boolean getBooleanProperty(java.lang.String s)
Specified by:
getBooleanProperty in interface com.opensymphony.module.sitemesh.Page

isPropertySet

public boolean isPropertySet(java.lang.String s)
Specified by:
isPropertySet in interface com.opensymphony.module.sitemesh.Page

getPropertyKeys

public java.lang.String[] getPropertyKeys()
Specified by:
getPropertyKeys in interface com.opensymphony.module.sitemesh.Page

getProperties

public java.util.Map getProperties()
Specified by:
getProperties in interface com.opensymphony.module.sitemesh.Page

getRequest

public javax.servlet.http.HttpServletRequest getRequest()
Specified by:
getRequest in interface com.opensymphony.module.sitemesh.Page

setRequest

public void setRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
Specified by:
setRequest in interface com.opensymphony.module.sitemesh.Page

addProperty

public void addProperty(java.lang.String s,
                        java.lang.String s1)
Specified by:
addProperty in interface com.opensymphony.module.sitemesh.Page

writeHead

public void writeHead(java.io.Writer writer)
               throws java.io.IOException
Specified by:
writeHead in interface com.opensymphony.module.sitemesh.HTMLPage
Throws:
java.io.IOException

getHead

public java.lang.String getHead()
Specified by:
getHead in interface com.opensymphony.module.sitemesh.HTMLPage

isFrameSet

public boolean isFrameSet()
Specified by:
isFrameSet in interface com.opensymphony.module.sitemesh.HTMLPage

setFrameSet

public void setFrameSet(boolean b)
Specified by:
setFrameSet in interface com.opensymphony.module.sitemesh.HTMLPage


Copyright © 2003-2010 Atlassian. All Rights Reserved.