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

PortalMetaData - JBOSS Portal 2.6 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

Version:
$Revision: 5448 $
Author:
Julien Viet

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.core.metadata.PortalObjectMetaData
PortalObjectMetaData.BuildContext
 
Field Summary
private  ModesMetaData modes
           
private  WindowStatesMetaData windowStates
           
 
Fields inherited from class org.jboss.portal.core.metadata.PortalObjectMetaData
 
Constructor Summary
PortalMetaData()
           
 
Method Summary
static PortalMetaData buildPortalMetaData(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, buildMetaData, buildPropertiesMetaData, configure, getChildren, getListener, getName, getProperties, getSecurityConstraints, setChildren, setListener, setName, setProperties, setSecurityConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

modes

private ModesMetaData modes

windowStates

private WindowStatesMetaData windowStates
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

buildPortalMetaData

public static PortalMetaData buildPortalMetaData(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()
Overrides:
toString in class PortalObjectMetaData