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

PortalMetaData - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.metadata
Class PortalMetaData

java.lang.Object
  extended byorg.jboss.portal.core.metadata.PortalObjectMetaData
      extended byorg.jboss.portal.core.metadata.PortalMetaData
All Implemented Interfaces:
MetaData

public class PortalMetaData
extends PortalObjectMetaData


Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.core.metadata.PortalObjectMetaData
PortalObjectMetaData.BuildContext
 
Constructor Summary
PortalMetaData()
           
 
Method Summary
static PortalMetaData buildMetaData(org.w3c.dom.Element portalElt)
          Parse the following XML elements : portal-name, supported-modes, supported-window-states.
static void buildSupportedModes(PortalMetaData portalMD, org.w3c.dom.Element supportedModesElt)
           
static void buildSupportedWindowStates(PortalMetaData portalMD, org.w3c.dom.Element supportedWindowStatesElt)
           
 PortalObject create(PortalObject parent, PortalObjectMetaData.BuildContext buildContext)
          Create an instance of the corresponding portal object.
 ModesMetaData getModes()
           
 WindowStatesMetaData getWindowStates()
           
 void setModes(ModesMetaData modes)
           
 void setWindowStates(WindowStatesMetaData windowStates)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.portal.core.metadata.PortalObjectMetaData
buildListenerMetaData, buildPropertiesMetaData, buildSecurityConstraintMetaData, configure, configurePolicy, getChildren, getDefaultSecurityConstraints, getListener, getName, getProperties, getSecurityConstraints, removePolicy, setChildren, setListener, setName, setProperties, setSecurityConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortalMetaData

public PortalMetaData()
Method Detail

getModes

public ModesMetaData getModes()

setModes

public void setModes(ModesMetaData modes)

getWindowStates

public WindowStatesMetaData getWindowStates()

setWindowStates

public void setWindowStates(WindowStatesMetaData windowStates)

create

public PortalObject create(PortalObject parent,
                           PortalObjectMetaData.BuildContext buildContext)
                    throws java.lang.Exception
Description copied from class: PortalObjectMetaData
Create an instance of the corresponding portal object.

Specified by:
create in class PortalObjectMetaData
Parameters:
parent - the parent object
buildContext - the context
Returns:
the corresponding portal object
Throws:
java.lang.Exception - any exception

buildMetaData

public static PortalMetaData buildMetaData(org.w3c.dom.Element portalElt)
                                    throws java.lang.Exception
Parse the following XML elements : portal-name, supported-modes, supported-window-states.

Throws:
java.lang.Exception

buildSupportedModes

public static void buildSupportedModes(PortalMetaData portalMD,
                                       org.w3c.dom.Element supportedModesElt)

buildSupportedWindowStates

public static void buildSupportedWindowStates(PortalMetaData portalMD,
                                              org.w3c.dom.Element supportedWindowStatesElt)

toString

public java.lang.String toString()