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 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(String s, String s1)
           
 String getBody()
           
 boolean getBooleanProperty(String s)
           
 String getHead()
           
 int getIntProperty(String s)
           
 long getLongProperty(String s)
           
 String getPage()
           
 Map getProperties()
           
 String getProperty(String s)
           
 String[] getPropertyKeys()
           
 javax.servlet.http.HttpServletRequest getRequest()
           
 String getTitle()
           
 boolean isFrameSet()
           
 boolean isPropertySet(String s)
           
 void setFrameSet(boolean b)
           
 void setRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
           
 void writeBody(Writer writer)
           
 void writeHead(Writer writer)
           
 void writePage(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(Writer writer)
               throws IOException
Specified by:
writePage in interface com.opensymphony.module.sitemesh.Page
Throws:
IOException

getPage

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

writeBody

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

getBody

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

getTitle

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

getProperty

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

getIntProperty

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

getLongProperty

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

getBooleanProperty

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

isPropertySet

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

getPropertyKeys

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

getProperties

public 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(String s,
                        String s1)
Specified by:
addProperty in interface com.opensymphony.module.sitemesh.Page

writeHead

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

getHead

public 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-2012 Atlassian. All Rights Reserved.