org.apache.pluto.descriptors.portlet
Class PortletDD
java.lang.Object
org.apache.pluto.descriptors.portlet.PortletDD
public class PortletDD
- extends 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>
Constructor Summary |
PortletDD()
Default no-arg constructor. |
QNAME_JSR168
public static final String QNAME_JSR168
- See Also:
- Constant Field Values
PortletDD
public PortletDD()
- Default no-arg constructor.
toString
public String toString()
- Returns a string representation of this instance.
FIXME: more info!
- Overrides:
toString
in class Object
- Returns:
- a string representation of this instance.
hashCode
public int hashCode()
- Returns the hash code for this instance.
- Overrides:
hashCode
in class Object
- Returns:
- the hash code for this instance.
getInitParams
public List<InitParamDD> getInitParams()
setInitParams
public void setInitParams(List<InitParamDD> initParams)
getPortletClass
public String getPortletClass()
setPortletClass
public void setPortletClass(String portletClass)
getPortletInfo
public PortletInfoDD getPortletInfo()
setPortletInfo
public void setPortletInfo(PortletInfoDD portletInfo)
getPortletName
public String getPortletName()
setPortletName
public void setPortletName(String portletName)
getPortletPreferences
public PortletPreferencesDD getPortletPreferences()
setPortletPreferences
public void setPortletPreferences(PortletPreferencesDD portletPreferences)
getProcessingEvents
public List<QName> getProcessingEvents()
setProcessingEvents
public void setProcessingEvents(List<EventDefinitionReferenceDD> processingEvents)
getPublishingEvents
public List<QName> getPublishingEvents()
setPublishingEvents
public void setPublishingEvents(List<EventDefinitionReferenceDD> publishingEvents)
getPublicRenderParameter
public List<String> getPublicRenderParameter()
setPublicRenderParameter
public void setPublicRenderParameter(List<String> publicRenderParameter)
getResourceBundle
public String getResourceBundle()
setResourceBundle
public void setResourceBundle(String resourceBundle)
getSecurityRoleRefs
public List<SecurityRoleRefDD> getSecurityRoleRefs()
setSecurityRoleRefs
public void setSecurityRoleRefs(List<SecurityRoleRefDD> securityRoleRefs)
getSupports
public List<SupportsDD> getSupports()
setSupports
public void setSupports(List<SupportsDD> supports)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getDisplayName
public String getDisplayName()
setDisplayName
public void setDisplayName(String displayName)
getSupportedLocale
public List<String> getSupportedLocale()
setSupportedLocale
public void setSupportedLocale(List<String> supportedLocale)
getExpirationCacheDD
public ExpirationCacheDD getExpirationCacheDD()
setExpirationCacheDD
public void setExpirationCacheDD(ExpirationCacheDD expirationCacheDD)
getContainerRuntimeOption
public List<ContainerRuntimeOptionDD> getContainerRuntimeOption()
getUrlGenerationListener
public List<String> getUrlGenerationListener()
setUrlGenerationListener
public void setUrlGenerationListener(List<String> urlGenerationListener)
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.