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

PortalRenderSet - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.theme.render
Class PortalRenderSet

java.lang.Object
  extended byorg.jboss.portal.theme.render.PortalRenderSet

public final class PortalRenderSet
extends java.lang.Object

The portal render set is a set of renderer implementations for the markup container of a page.

A render set consists of 4 iterface implementations with some meta data describing the web application the render set is coming from, and the content type it is capable of handling.

Version:
$Revision: 5448 $
Author:
Martin Holzner.

Field Summary
private  boolean ajaxEnabled
           
private  java.lang.String appID
           
private  MediaType contentType
           
private  DecorationRenderer decorationRenderer
           
private  java.lang.String name
           
private  PortletRenderer portletRenderer
           
private  RegionRenderer regionRenderer
           
private  ServerRegistrationID registrationId
           
private  WindowRenderer windowRenderer
           
 
Constructor Summary
PortalRenderSet(java.lang.String renderSetName, RuntimeContext runtimeContext, RendererSetMetaData rendererSetMD)
          construct a render set
 
Method Summary
 java.lang.String getAppId()
          Get the name of the application (the WAR) that contains this render set.
 DecorationRenderer getDecorationRenderer()
           
 MediaType getMediaType()
           
 java.lang.String getName()
          Get the name of this render set.
 PortletRenderer getPortletRenderer()
           
 RegionRenderer getRegionRenderer()
           
 ServerRegistrationID getRegistrationId()
           
 WindowRenderer getWindowRenderer()
           
private  Renderer loadRenderer(java.lang.ClassLoader loader, java.lang.String className)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

regionRenderer

private final RegionRenderer regionRenderer

windowRenderer

private final WindowRenderer windowRenderer

portletRenderer

private final PortletRenderer portletRenderer

decorationRenderer

private final DecorationRenderer decorationRenderer

contentType

private final MediaType contentType

appID

private final java.lang.String appID

name

private final java.lang.String name

registrationId

private final ServerRegistrationID registrationId

ajaxEnabled

private final boolean ajaxEnabled
Constructor Detail

PortalRenderSet

public PortalRenderSet(java.lang.String renderSetName,
                       RuntimeContext runtimeContext,
                       RendererSetMetaData rendererSetMD)
                throws java.lang.IllegalAccessException,
                       java.lang.InstantiationException,
                       java.lang.ClassNotFoundException
construct a render set

Parameters:
renderSetName - the name of the render set as defined in the portal-renderSet.xml descriptor, or null if it was defined as part of a layout descriptor.
runtimeContext - the runtime environment (data describing the portal web application in wich the render set was defined)
rendererSetMD - meta data about an individual set of 4 renderer implementation together with their supported content type
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException
Method Detail

getRegistrationId

public ServerRegistrationID getRegistrationId()

getMediaType

public MediaType getMediaType()
See Also:
getMediaType()

getAppId

public java.lang.String getAppId()
Get the name of the application (the WAR) that contains this render set.

Returns:
the name of the application (the WAR) that contains this render set

getName

public java.lang.String getName()
Get the name of this render set.

Returns:
the name of this render set

getRegionRenderer

public RegionRenderer getRegionRenderer()
See Also:
getRegionRenderer()

getWindowRenderer

public WindowRenderer getWindowRenderer()
See Also:
getWindowRenderer()

getPortletRenderer

public PortletRenderer getPortletRenderer()
See Also:
getPortletRenderer()

getDecorationRenderer

public DecorationRenderer getDecorationRenderer()
See Also:
getDecorationRenderer()

toString

public java.lang.String toString()
See Also:
Object.toString()

loadRenderer

private Renderer loadRenderer(java.lang.ClassLoader loader,
                              java.lang.String className)
                       throws java.lang.ClassNotFoundException,
                              java.lang.IllegalAccessException,
                              java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException