org.jboss.portal.core.model.portal.metadata
Class WindowMetaData

java.lang.Object
  extended by org.jboss.portal.core.model.portal.metadata.PortalObjectMetaData
      extended by org.jboss.portal.core.model.portal.metadata.WindowMetaData

public class WindowMetaData
extends PortalObjectMetaData

Version:
$Revision: 7380 $
Author:
Julien Viet

Field Summary
protected  ContentMetaData content
          The window content.
protected  ContentType contentType
          .
protected  int order
          The window order.
protected  java.lang.String region
          The window region.
 
Constructor Summary
WindowMetaData()
           
 
Method Summary
static WindowMetaData buildPortletWindowMetaData(ContentProviderRegistry contentProviderRegistry, org.w3c.dom.Element windowElt)
           
 ContentMetaData getContent()
           
 ContentType getContentType()
           
 int getOrder()
           
 java.lang.String getRegion()
           
protected  PortalObject newInstance(BuildContext buildContext, PortalObject parent)
           
 void setContent(ContentMetaData content)
           
 void setContentType(ContentType contentType)
           
 void setOrder(int order)
           
 void setRegion(java.lang.String region)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jboss.portal.core.model.portal.metadata.PortalObjectMetaData
buildListenerMetaData, buildMetaData, buildPropertiesMetaData, create, 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

region

protected java.lang.String region
The window region.


order

protected int order
The window order.


content

protected ContentMetaData content
The window content.


contentType

protected ContentType contentType
.

Constructor Detail

WindowMetaData

public WindowMetaData()
Method Detail

getRegion

public java.lang.String getRegion()

setRegion

public void setRegion(java.lang.String region)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

getContent

public ContentMetaData getContent()

setContent

public void setContent(ContentMetaData content)

getContentType

public ContentType getContentType()

setContentType

public void setContentType(ContentType contentType)

newInstance

protected PortalObject newInstance(BuildContext buildContext,
                                   PortalObject parent)
                            throws java.lang.Exception
Specified by:
newInstance in class PortalObjectMetaData
Throws:
java.lang.Exception

buildPortletWindowMetaData

public static WindowMetaData buildPortletWindowMetaData(ContentProviderRegistry contentProviderRegistry,
                                                        org.w3c.dom.Element windowElt)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class PortalObjectMetaData