org.apache.pluto.descriptors.portlet
Class PortletDD

java.lang.Object
  extended by org.apache.pluto.descriptors.portlet.PortletDD

public class PortletDD
extends java.lang.Object

Bare bones implementation of the Portlet descriptor. FIXME: Hmmm... What do you mean, David? --ZHENG Zhong Eventually this should be flushed out :), but for the sake of timing I'll be lazy for now.

Since:
Mar 6, 2005 The portlet element contains the declarative data of a portlet. Used in: portlet-app

Java class for portletType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="portletType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="portlet-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-nameType"/>
         <element name="display-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="portlet-class" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-classType"/>
         <element name="init-param" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}init-paramType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="expiration-cache" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}expiration-cacheType" minOccurs="0"/>
         <element name="supports" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}supportsType" maxOccurs="unbounded"/>
         <element name="supported-locale" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}supported-localeType" maxOccurs="unbounded" minOccurs="0"/>
         <choice>
           <sequence>
             <element name="resource-bundle" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}resource-bundleType"/>
             <element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-infoType" minOccurs="0"/>
           </sequence>
           <element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-infoType"/>
         </choice>
         <element name="portlet-preferences" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-preferencesType" minOccurs="0"/>
         <element name="security-role-ref" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supported-processing-event" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supported-publishing-event" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supported-public-render-parameter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

Field Summary
static java.lang.String QNAME_JSR168
           
 
Constructor Summary
PortletDD()
          Default no-arg constructor.
 
Method Summary
 java.util.List<ContainerRuntimeOptionDD> getContainerRuntimeOption()
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 ExpirationCacheDD getExpirationCacheDD()
           
 java.util.List<InitParamDD> getInitParams()
           
 java.lang.String getPortletClass()
           
 PortletInfoDD getPortletInfo()
           
 java.lang.String getPortletName()
           
 PortletPreferencesDD getPortletPreferences()
           
 java.util.List<javax.xml.namespace.QName> getProcessingEvents()
           
 java.util.List<java.lang.String> getPublicRenderParameter()
           
 java.util.List<javax.xml.namespace.QName> getPublishingEvents()
           
 java.lang.String getResourceBundle()
           
 java.util.List<SecurityRoleRefDD> getSecurityRoleRefs()
           
 java.util.List<java.lang.String> getSupportedLocale()
           
 java.util.List<SupportsDD> getSupports()
           
 java.util.List<java.lang.String> getUrlGenerationListener()
           
 int hashCode()
          Returns the hash code for this instance.
 void setDescription(java.lang.String description)
           
 void setDisplayName(java.lang.String displayName)
           
 void setExpirationCacheDD(ExpirationCacheDD expirationCacheDD)
           
 void setInitParams(java.util.List<InitParamDD> initParams)
           
 void setPortletClass(java.lang.String portletClass)
           
 void setPortletInfo(PortletInfoDD portletInfo)
           
 void setPortletName(java.lang.String portletName)
           
 void setPortletPreferences(PortletPreferencesDD portletPreferences)
           
 void setProcessingEvents(java.util.List<EventDefinitionReferenceDD> processingEvents)
           
 void setPublicRenderParameter(java.util.List<java.lang.String> publicRenderParameter)
           
 void setPublishingEvents(java.util.List<EventDefinitionReferenceDD> publishingEvents)
           
 void setResourceBundle(java.lang.String resourceBundle)
           
 void setSecurityRoleRefs(java.util.List<SecurityRoleRefDD> securityRoleRefs)
           
 void setSupportedLocale(java.util.List<java.lang.String> supportedLocale)
           
 void setSupports(java.util.List<SupportsDD> supports)
           
 void setUrlGenerationListener(java.util.List<java.lang.String> urlGenerationListener)
           
 java.lang.String toString()
          Returns a string representation of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QNAME_JSR168

public static final java.lang.String QNAME_JSR168
See Also:
Constant Field Values
Constructor Detail

PortletDD

public PortletDD()
Default no-arg constructor.

Method Detail

toString

public java.lang.String toString()
Returns a string representation of this instance. FIXME: more info!

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this instance.

hashCode

public int hashCode()
Returns the hash code for this instance.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code for this instance.

getInitParams

public java.util.List<InitParamDD> getInitParams()

setInitParams

public void setInitParams(java.util.List<InitParamDD> initParams)

getPortletClass

public java.lang.String getPortletClass()

setPortletClass

public void setPortletClass(java.lang.String portletClass)

getPortletInfo

public PortletInfoDD getPortletInfo()

setPortletInfo

public void setPortletInfo(PortletInfoDD portletInfo)

getPortletName

public java.lang.String getPortletName()

setPortletName

public void setPortletName(java.lang.String portletName)

getPortletPreferences

public PortletPreferencesDD getPortletPreferences()

setPortletPreferences

public void setPortletPreferences(PortletPreferencesDD portletPreferences)

getProcessingEvents

public java.util.List<javax.xml.namespace.QName> getProcessingEvents()

setProcessingEvents

public void setProcessingEvents(java.util.List<EventDefinitionReferenceDD> processingEvents)

getPublishingEvents

public java.util.List<javax.xml.namespace.QName> getPublishingEvents()

setPublishingEvents

public void setPublishingEvents(java.util.List<EventDefinitionReferenceDD> publishingEvents)

getPublicRenderParameter

public java.util.List<java.lang.String> getPublicRenderParameter()

setPublicRenderParameter

public void setPublicRenderParameter(java.util.List<java.lang.String> publicRenderParameter)

getResourceBundle

public java.lang.String getResourceBundle()

setResourceBundle

public void setResourceBundle(java.lang.String resourceBundle)

getSecurityRoleRefs

public java.util.List<SecurityRoleRefDD> getSecurityRoleRefs()

setSecurityRoleRefs

public void setSecurityRoleRefs(java.util.List<SecurityRoleRefDD> securityRoleRefs)

getSupports

public java.util.List<SupportsDD> getSupports()

setSupports

public void setSupports(java.util.List<SupportsDD> supports)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getDisplayName

public java.lang.String getDisplayName()

setDisplayName

public void setDisplayName(java.lang.String displayName)

getSupportedLocale

public java.util.List<java.lang.String> getSupportedLocale()

setSupportedLocale

public void setSupportedLocale(java.util.List<java.lang.String> supportedLocale)

getExpirationCacheDD

public ExpirationCacheDD getExpirationCacheDD()

setExpirationCacheDD

public void setExpirationCacheDD(ExpirationCacheDD expirationCacheDD)

getContainerRuntimeOption

public java.util.List<ContainerRuntimeOptionDD> getContainerRuntimeOption()

getUrlGenerationListener

public java.util.List<java.lang.String> getUrlGenerationListener()

setUrlGenerationListener

public void setUrlGenerationListener(java.util.List<java.lang.String> urlGenerationListener)


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.