com.opensymphony.sitemesh.webapp.decorator
Class BaseWebAppDecorator
java.lang.Object
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
- All Implemented Interfaces:
- Decorator
- Direct Known Subclasses:
- DispatchedDecorator, NoDecorator, OldDecorator2NewDecorator
public abstract class BaseWebAppDecorator
- extends Object
- implements Decorator
Convenient base class for all Java web-app based decorators that make use of the Servlet API.
- Since:
- SiteMesh 3.0
- Author:
- Joe Walnes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseWebAppDecorator
public BaseWebAppDecorator()
render
protected abstract void render(Content content,
HttpServletRequest request,
HttpServletResponse response,
ServletContext servletContext,
SiteMeshWebAppContext webAppContext)
throws IOException,
ServletException
- More convenient version of
render(com.opensymphony.sitemesh.Content, com.opensymphony.sitemesh.SiteMeshContext)
suited for Servlet API calls.
- Throws:
IOException
ServletException
render
public void render(Content content,
SiteMeshContext context)
- Specified by:
render
in interface Decorator