Class ConfluenceSitemeshDecorator

  • All Implemented Interfaces:
    com.opensymphony.sitemesh.Decorator
    Direct Known Subclasses:
    ConfluenceSitemeshErrorDecorator

    public class ConfluenceSitemeshDecorator
    extends com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
    Renders Velocity decorators with a context map of objects provided by Confluence.
    • Method Detail

      • render

        protected void render​(com.opensymphony.sitemesh.Content content,
                              javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response,
                              javax.servlet.ServletContext servletContext,
                              com.opensymphony.sitemesh.webapp.SiteMeshWebAppContext siteMeshWebAppContext)
                       throws IOException,
                              javax.servlet.ServletException
        Specified by:
        render in class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
        Throws:
        IOException
        javax.servlet.ServletException
      • renderInternal

        protected void renderInternal​(com.opensymphony.sitemesh.Content content,
                                      javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.http.HttpServletResponse response)
                               throws IOException,
                                      javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • applyDecorator

        public void applyDecorator​(com.opensymphony.module.sitemesh.Page page,
                                   com.opensymphony.module.sitemesh.Decorator decorator,
                                   javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
                            throws javax.servlet.ServletException,
                                   IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • getDecorator

        protected com.opensymphony.module.sitemesh.Decorator getDecorator()