001: /*
002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
003: *
004: * This program is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License
006: * as published by the Free Software Foundation; either version 2
007: * of the License, or (at your option) any later version.
008: *
009: * This program is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: *
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
023: // Any modifications to this file will be lost upon recompilation of the source schema.
024: // Generated on: 2005.03.04 at 10:20:40 PST
025: //
026:
027: package com.nabhinc.portal.config;
028:
029: /**
030: * Supports indicates the portlet modes a
031: * portlet supports for a specific content type. All portlets must
032: * support the view mode.
033: * Used in: portlet
034: *
035: * Java content class for supportsType complex type.
036: * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at file:/C:/Sun/jwsdp-1.5/jaxb/lib/portlet-app_1_0.xsd line 436)
037: * <p>
038: * <pre>
039: * <complexType name="supportsType">
040: * <complexContent>
041: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
042: * <sequence>
043: * <element name="mime-type" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}mime-typeType"/>
044: * <element name="portlet-mode" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-modeType" maxOccurs="unbounded" minOccurs="0"/>
045: * </sequence>
046: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
047: * </restriction>
048: * </complexContent>
049: * </complexType>
050: * </pre>
051: *
052: */
053: public interface SupportsType {
054:
055: /**
056: * Gets the value of the mimeType property.
057: *
058: * @return
059: * possible object is
060: * {@link com.nabhinc.portal.config.MimeTypeType}
061: */
062: com.nabhinc.portal.config.MimeTypeType getMimeType();
063:
064: /**
065: * Sets the value of the mimeType property.
066: *
067: * @param value
068: * allowed object is
069: * {@link com.nabhinc.portal.config.MimeTypeType}
070: */
071: void setMimeType(com.nabhinc.portal.config.MimeTypeType value);
072:
073: /**
074: * Gets the value of the PortletMode property.
075: *
076: * <p>
077: * This accessor method returns a reference to the live list,
078: * not a snapshot. Therefore any modification you make to the
079: * returned list will be present inside the JAXB object.
080: * This is why there is not a <CODE>set</CODE> method for the PortletMode property.
081: *
082: * <p>
083: * For example, to add a new item, do as follows:
084: * <pre>
085: * getPortletMode().add(newItem);
086: * </pre>
087: *
088: *
089: * <p>
090: * Objects of the following type(s) are allowed in the list
091: * {@link com.nabhinc.portal.config.PortletModeType}
092: *
093: */
094: java.util.List getPortletMode();
095:
096: /**
097: * Gets the value of the id property.
098: *
099: * @return
100: * possible object is
101: * {@link java.lang.String}
102: */
103: java.lang.String getId();
104:
105: /**
106: * Sets the value of the id property.
107: *
108: * @param value
109: * allowed object is
110: * {@link java.lang.String}
111: */
112: void setId(java.lang.String value);
113:
114: }
|