org.springframework.extensions.surf.render.bean
Class PageRenderer
java.lang.Object
org.springframework.extensions.surf.render.AbstractRenderer
org.springframework.extensions.surf.render.bean.PageRenderer
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, Renderer
public class PageRenderer
- extends AbstractRenderer
The primary duty of this bean is to determine the appropriate
template to execute and the begin the processing of that template.
It must base this decision off of the given context which will usually
be the base render context that lightly wraps the request.
- Author:
- muzquiano
Methods inherited from class org.springframework.extensions.surf.render.AbstractRenderer |
all, getApplicationContext, getProcessor, getRenderService, getServiceRegistry, init, onApplicationEvent, print, print, render, setApplicationContext, setProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageRenderer
public PageRenderer()
body
public void body(RenderContext parentContext)
throws RendererExecutionException
- Renders the current page
- Specified by:
body
in interface Renderer
- Specified by:
body
in class AbstractRenderer
- Throws:
RendererExecutionException
header
public void header(RenderContext context)
throws RendererExecutionException
- Renders the header for the page
- Specified by:
header
in interface Renderer
- Overrides:
header
in class AbstractRenderer
- Throws:
RendererExecutionException
footer
public void footer(RenderContext context)
throws RendererExecutionException
- Renders the footer for the page
- Specified by:
footer
in interface Renderer
- Overrides:
footer
in class AbstractRenderer
- Throws:
RendererExecutionException
Copyright © 2009 SpringSource, Inc. All Rights Reserved.