Class NoDecorator

java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
com.opensymphony.sitemesh.webapp.decorator.NoDecorator
All Implemented Interfaces:
Decorator

public class NoDecorator extends BaseWebAppDecorator
If no decorator is to be applied to a page, this will ensure the original content gets written out.
Since:
SiteMesh 3.0
Author:
Joe Walnes
  • Constructor Details

    • NoDecorator

      public NoDecorator()
  • Method Details

    • render

      protected void render(Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, SiteMeshWebAppContext webAppContext) throws IOException, javax.servlet.ServletException
      Render.
      Specified by:
      render in class BaseWebAppDecorator
      Parameters:
      content - the content
      request - the request
      response - the response
      servletContext - the servlet context
      webAppContext - the web app context
      Throws:
      IOException - Signals that an I/O exception has occurred.
      javax.servlet.ServletException - the servlet exception