Class OldDecorator2NewDecorator
java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
com.opensymphony.sitemesh.compatability.OldDecorator2NewDecorator
- All Implemented Interfaces:
RequestConstants,Decorator
- Since:
- SiteMesh 3
- Author:
- Joe Walnes
-
Field Summary
Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants
DECORATOR, PAGE, ROBOT -
Constructor Summary
ConstructorsConstructorDescriptionOldDecorator2NewDecorator(Decorator oldDecorator) Instantiates a new old decorator 2 new decorator. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrender(Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext, SiteMeshWebAppContext webAppContext) More convenient version ofBaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)suited for Servlet API calls.Methods inherited from class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
render
-
Constructor Details
-
OldDecorator2NewDecorator
Instantiates a new old decorator 2 new decorator.- Parameters:
oldDecorator- the old decorator
-
-
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 Description copied from class:BaseWebAppDecoratorMore convenient version ofBaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)suited for Servlet API calls.- Specified by:
renderin classBaseWebAppDecorator- Parameters:
content- the contentrequest- the requestresponse- the responseservletContext- the servlet contextwebAppContext- the web app context- Throws:
IOException- Signals that an I/O exception has occurred.javax.servlet.ServletException- the servlet exception
-