org.springframework.extensions.surf.render.bean
Class ComponentRenderer
java.lang.Object
org.springframework.extensions.surf.render.AbstractRenderer
org.springframework.extensions.surf.render.bean.ComponentRenderer
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, Renderer
- Direct Known Subclasses:
- WebStudioComponentRenderer
public class ComponentRenderer
- extends AbstractRenderer
Bean responsible for rendering a component.
This entails rendering Chrome and then placing the component
inside of that chrome.
- 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 |
ComponentRenderer
public ComponentRenderer()
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 components
- Throws:
IOException
Copyright © 2009 SpringSource, Inc. All Rights Reserved.