站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

RegionRenderer - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.theme.render
Interface RegionRenderer

All Superinterfaces:
Renderer
All Known Implementing Classes:
DivRegionRenderer, DynaRegionRenderer, EmptyRegionRenderer

public interface RegionRenderer
extends Renderer

A region renderer is responsible to create the markup container for a set of portlets on a page region.

The Portlets on a portal page can be assigned to regions of that page. Regions are sub elements of a page, that will be used by a layout to position groups of portlets over the areas of the page. The region renderer can be invoked to render the entire content of the region. It is assumed to take over the responsibility of delegating to the WindowRenderer for each portlet that needs to be rendered in the region in question.

Version:
$LastChangedRevision: 5448 $, $LastChangedDate: 2006-10-13 15:29:17 -0400 (Fri, 13 Oct 2006) $
Author:
PortalRenderSet, WindowRenderer

Method Summary
 void render(RenderContext renderContext, Region region, java.util.Map portletContexts, java.util.Map windowResults)
          Render the markup of an entire page region with all the portlets that are assigned to that region.
 
Methods inherited from interface org.jboss.portal.theme.render.Renderer
renderEnd, renderStart
 

Method Detail

render

public void render(RenderContext renderContext,
                   Region region,
                   java.util.Map portletContexts,
                   java.util.Map windowResults)
            throws RenderException
Render the markup of an entire page region with all the portlets that are assigned to that region.

Parameters:
renderContext - the state holder to provide information about the region, it's portlets, and the render set, which allows access to the other renderer interfaces of the render set.
region - the region to be rendered
windowResults -
Throws:
RenderException
See Also:
WindowRenderer.render(org.jboss.portal.theme.render.RenderContext, org.jboss.portal.theme.page.WindowContext, org.jboss.portal.theme.page.WindowResult)