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

RenderSetImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.impl.render
Class RenderSetImpl

java.lang.Object
  extended byorg.jboss.portal.theme.impl.render.RenderSetImpl
All Implemented Interfaces:
PortalRenderSet

public class RenderSetImpl
extends java.lang.Object
implements PortalRenderSet

Implementation of a portal render set.

See Also:
PortalRenderSet

Constructor Summary
RenderSetImpl(java.lang.String appID, java.lang.String setName, java.lang.ClassLoader loader, java.lang.String contentType, java.lang.String regionRenderer, java.lang.String windowRenderer, java.lang.String portletRenderer, java.lang.String decorationRenderer)
          Create a new instance of a render set.
 
Method Summary
 java.lang.String getAppID()
          Get the name of the application (the WAR) that contains this render set.
 DecorationRenderer getDecorationRenderer()
          Get the implementation of the decoration renderer in this set.
 MediaType getMediaType()
          Get the media/content/mime type of this set.
 java.lang.String getName()
          Get the name of this render set.
 PortletRenderer getPortletRenderer()
          Get the implementation of the portlet renderer in this set.
 RegionRenderer getRegionRenderer()
          Get the implementation of the region renderer in this set.
 WindowRenderer getWindowRenderer()
          Get the implementation of the window renderer in this set.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenderSetImpl

public RenderSetImpl(java.lang.String appID,
                     java.lang.String setName,
                     java.lang.ClassLoader loader,
                     java.lang.String contentType,
                     java.lang.String regionRenderer,
                     java.lang.String windowRenderer,
                     java.lang.String portletRenderer,
                     java.lang.String decorationRenderer)
              throws javax.activation.MimeTypeParseException,
                     java.lang.ClassNotFoundException,
                     java.lang.IllegalAccessException,
                     java.lang.InstantiationException
Create a new instance of a render set.

Parameters:
loader - the class loader to use to load the renderer implementations
contentType - the media/content/mime type for this render set
regionRenderer - the class name of the region renderer implementation
windowRenderer - the class name of the window renderer implementation
portletRenderer - the class name of the portlet renderer implementation
decorationRenderer - the class name of the decoration renderer implementation
Throws:
javax.activation.MimeTypeParseException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
Method Detail

getRegionRenderer

public RegionRenderer getRegionRenderer()
Description copied from interface: PortalRenderSet
Get the implementation of the region renderer in this set.

Specified by:
getRegionRenderer in interface PortalRenderSet
Returns:
the implementation of the region renderer in this set
See Also:
PortalRenderSet.getRegionRenderer()

getWindowRenderer

public WindowRenderer getWindowRenderer()
Description copied from interface: PortalRenderSet
Get the implementation of the window renderer in this set.

Specified by:
getWindowRenderer in interface PortalRenderSet
Returns:
the implementation of the window renderer in this set
See Also:
PortalRenderSet.getWindowRenderer()

getPortletRenderer

public PortletRenderer getPortletRenderer()
Description copied from interface: PortalRenderSet
Get the implementation of the portlet renderer in this set.

Specified by:
getPortletRenderer in interface PortalRenderSet
Returns:
the implementation of the portlet renderer in this set
See Also:
PortalRenderSet.getPortletRenderer()

getDecorationRenderer

public DecorationRenderer getDecorationRenderer()
Description copied from interface: PortalRenderSet
Get the implementation of the decoration renderer in this set.

Specified by:
getDecorationRenderer in interface PortalRenderSet
Returns:
the implementation of the decoration renderer in this set
See Also:
PortalRenderSet.getDecorationRenderer()

getMediaType

public MediaType getMediaType()
Description copied from interface: PortalRenderSet
Get the media/content/mime type of this set.

Specified by:
getMediaType in interface PortalRenderSet
Returns:
the media type of this set
See Also:
PortalRenderSet.getMediaType()

getAppID

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

Specified by:
getAppID in interface PortalRenderSet
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.

Specified by:
getName in interface PortalRenderSet
Returns:
the name of this render set

toString

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