Class VelocitySitemeshPage

java.lang.Object
com.atlassian.confluence.impl.sitemesh.VelocitySitemeshPage
All Implemented Interfaces:
DecoratablePage, com.opensymphony.module.sitemesh.HTMLPage, com.opensymphony.module.sitemesh.Page

public final class VelocitySitemeshPage extends Object implements DecoratablePage
A Velocity-safe Sitemesh HTMLPage implementation that also implements DecoratablePage.
Since:
9.1
  • Field Details

    • delegatePage

      protected final com.opensymphony.module.sitemesh.HTMLPage delegatePage
  • Constructor Details

    • VelocitySitemeshPage

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

    • getProperty

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

      public org.apache.velocity.runtime.Renderable renderableBody()
      Specified by:
      renderableBody in interface DecoratablePage
    • renderableHead

      public org.apache.velocity.runtime.Renderable renderableHead()
      Specified by:
      renderableHead in interface DecoratablePage
    • 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
    • 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 name, String value)
      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 frameset)
      Specified by:
      setFrameSet in interface com.opensymphony.module.sitemesh.HTMLPage