当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PortalRenderSet - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.theme.render
Class PortalRenderSet
java.lang.Object
org.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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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
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