org.springframework.extensions.surf.render.bean
Class RegionRenderer
java.lang.Object
org.springframework.extensions.surf.render.AbstractRenderer
org.springframework.extensions.surf.render.bean.RegionRenderer
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, Renderer
- Direct Known Subclasses:
- WebStudioRegionRenderer
public class RegionRenderer
- extends AbstractRenderer
Bean responsible for rendering a region.
The bean should set up render context state and then hand off to a
region chrome renderer. If no chrome is present, then it call call
through to the RenderUtil helper method directly.
- Author:
- muzquiano
Methods inherited from class org.springframework.extensions.surf.render.AbstractRenderer |
all, footer, 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 |
RegionRenderer
public RegionRenderer()
header
public void header(RenderContext parentContext)
throws RendererExecutionException
- Description copied from interface:
Renderer
- Executes the renderer in the "head" mode
- Specified by:
header
in interface Renderer
- Overrides:
header
in class AbstractRenderer
- Throws:
RendererExecutionException
body
public void body(RenderContext parentContext)
throws RendererExecutionException
- Description copied from interface:
Renderer
- Executes the renderer in the "body" mode
- Specified by:
body
in interface Renderer
- Specified by:
body
in class AbstractRenderer
- Throws:
RendererExecutionException
postProcess
public void postProcess(RenderContext context)
throws IOException
- Post-processing of regions
- Throws:
IOException
Copyright © 2009 SpringSource, Inc. All Rights Reserved.