org.jboss.portal.theme.impl
Class JSPLayout
java.lang.Object
org.jboss.portal.theme.PortalLayout
org.jboss.portal.theme.impl.JSPLayout
- All Implemented Interfaces:
- ObjectRenderer, PageRenderer
public final class JSPLayout
- extends PortalLayout
- implements PageRenderer
Layout implementation that uses JSPs (and tags) to render the response back to the client.
- Version:
- $Revision: 8784 $
- Author:
- Martin Holzner
- See Also:
LayoutDispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSPLayout
public JSPLayout()
getRenderContext
public RendererContext getRenderContext(ThemeContext themeContext,
MarkupInfo markupInfo,
ServletContextDispatcher dispatcher)
- Description copied from class:
PortalLayout
- Provides a render context that will render its markup in the response provided by the servlet context dispatcher.
- Specified by:
getRenderContext
in class PortalLayout
- Parameters:
themeContext
- the theme contextmarkupInfo
- the markup infodispatcher
- the way to dispatch to the layout and receive the produced markup
- Returns:
- a render context
getRenderContext
public RendererContext getRenderContext(ThemeContext themeContext,
MarkupInfo markupInfo,
ServletContextDispatcher dispatcher,
java.io.Writer writer)
- Description copied from class:
PortalLayout
- Provides a render context that will render its markup in the provided writer.
- Specified by:
getRenderContext
in class PortalLayout
- Parameters:
themeContext
- the theme contextmarkupInfo
- the markup infodispatcher
- the way to dispatch to the layoutwriter
- the writer that will receive the produced markup
- Returns:
- a render context
startContext
public void startContext(RendererContext rendererContext,
ObjectRendererContext objectRenderContext)
- Specified by:
startContext
in interface ObjectRenderer
endContext
public void endContext(RendererContext rendererContext,
ObjectRendererContext objectRenderContext)
- Specified by:
endContext
in interface ObjectRenderer
render
public void render(RendererContext rendererContext,
PageRendererContext prc)
throws RenderException
- Specified by:
render
in interface PageRenderer
- Throws:
RenderException