net.sourceforge.ccxjc.it.model.pkg.indexed.novalueclass.portlet.app100
Interface SupportsType

All Known Implementing Classes:
SupportsTypeImpl

public interface SupportsType

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_1_0.xsd}mime-typeType"/>
         <element name="portlet-mode" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-modeType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getId()
          Gets the value of the id property.
 MimeTypeType getMimeType()
          Gets the value of the mimeType property.
 PortletModeType[] getPortletMode()
           
 PortletModeType getPortletMode(int idx)
           
 int getPortletModeLength()
           
 void setId(String value)
          Sets the value of the id property.
 void setMimeType(MimeTypeType value)
          Sets the value of the mimeType property.
 PortletModeType setPortletMode(int idx, PortletModeType value)
           
 void setPortletMode(PortletModeType[] values)
           
 

Method Detail

getMimeType

MimeTypeType getMimeType()
Gets the value of the mimeType property.

Returns:
possible object is MimeTypeType

setMimeType

void setMimeType(MimeTypeType value)
Sets the value of the mimeType property.

Parameters:
value - allowed object is MimeTypeType

getPortletMode

PortletModeType[] getPortletMode()
Returns:
array of PortletModeType

getPortletMode

PortletModeType getPortletMode(int idx)
Returns:
one of PortletModeType

getPortletModeLength

int getPortletModeLength()

setPortletMode

void setPortletMode(PortletModeType[] values)
Parameters:
values - allowed objects are PortletModeType

setPortletMode

PortletModeType setPortletMode(int idx,
                               PortletModeType value)
Parameters:
value - allowed object is PortletModeType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.