com.opensymphony.sitemesh.compatability
Class OldDecorator2NewDecorator
java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
com.opensymphony.sitemesh.compatability.OldDecorator2NewDecorator
- All Implemented Interfaces:
- RequestConstants, Decorator
public class OldDecorator2NewDecorator
- extends BaseWebAppDecorator
- implements RequestConstants
Adapts a SiteMesh 2 Decorator
to a
SiteMesh 3 Decorator
.
- Since:
- SiteMesh 3
- Author:
- Joe Walnes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oldDecorator
private final Decorator oldDecorator
OldDecorator2NewDecorator
public OldDecorator2NewDecorator(Decorator oldDecorator)
render
protected void render(Content content,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext servletContext,
SiteMeshWebAppContext webAppContext)
throws java.io.IOException,
javax.servlet.ServletException
- Description copied from class:
BaseWebAppDecorator
- More convenient version of
BaseWebAppDecorator.render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)
suited for Servlet API calls.
- Specified by:
render
in class BaseWebAppDecorator
- Throws:
java.io.IOException
javax.servlet.ServletException