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

Renderer - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.render
Interface Renderer

All Known Subinterfaces:
DecorationRenderer, PortletRenderer, RegionRenderer, WindowRenderer
All Known Implementing Classes:
DivDecorationRenderer, DivPortletRenderer, DivRegionRenderer, DivWindowRenderer, EmptyDecorationRenderer, EmptyPortletRenderer, EmptyRegionRenderer, EmptyWindowRenderer

public interface Renderer

Generic renderer interface extended by all members of a render set.

See Also:
PortalRenderSet

Method Summary
 void renderEnd(RenderContext ctx)
          End the render process for this renderer.
 void renderStart(RenderContext ctx)
          Start the render process for this renderer.
 

Method Detail

renderStart

public void renderStart(RenderContext ctx)
Start the render process for this renderer.

This is a convenient way yo open tags, like a table or a div

Parameters:
ctx - the render context allowing access to state information of the current render process

renderEnd

public void renderEnd(RenderContext ctx)
End the render process for this renderer.

This is a convenient way yo close the tags that where opened by renderStart

Parameters:
ctx - the render context allowing access to state information of the current render process