Class 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 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