org.apache.pluto.descriptors.portlet
Class SupportsDD
java.lang.Object
org.apache.pluto.descriptors.portlet.SupportsDD
public class SupportsDD
- extends java.lang.Object
Representation of the supports element within the portlet.xml
Supports indicates the portlet modes a
portlet supports for a specific content type. All portlets must
support the view mode.
Used in: portlet
Java class for supportsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="supportsType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="mime-type" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}mime-typeType"/>
<element name="portlet-mode" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-modeType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SupportsDD
public SupportsDD()
getMimeType
public java.lang.String getMimeType()
setMimeType
public void setMimeType(java.lang.String mimeType)
getPortletModes
public java.util.List<java.lang.String> getPortletModes()
setPortletModes
public void setPortletModes(java.util.List<java.lang.String> portletModes)
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.