当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PortalMetaData - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.metadata
Class PortalMetaData
java.lang.Object
org.jboss.portal.core.metadata.PortalObjectMetaData
org.jboss.portal.core.metadata.PortalMetaData
- All Implemented Interfaces:
- MetaData
- public class PortalMetaData
- extends PortalObjectMetaData
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 |
PortalMetaData
public PortalMetaData()
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 objectbuildContext
- 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