|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletType
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_1_0.xsd}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
<element name="portlet-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-nameType"/>
<element name="display-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
<element name="portlet-class" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-classType"/>
<element name="init-param" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}init-paramType" maxOccurs="unbounded" minOccurs="0"/>
<element name="expiration-cache" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}expiration-cacheType" minOccurs="0"/>
<element name="supports" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}supportsType" maxOccurs="unbounded"/>
<element name="supported-locale" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}supported-localeType" maxOccurs="unbounded" minOccurs="0"/>
<choice>
<sequence>
<element name="resource-bundle" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}resource-bundleType"/>
<element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-infoType" minOccurs="0"/>
</sequence>
<element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-infoType"/>
</choice>
<element name="portlet-preferences" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portlet-preferencesType" minOccurs="0"/>
<element name="security-role-ref" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
List<javax.xml.bind.JAXBElement<?>> |
getContent()
Gets the rest of the content model. |
String |
getId()
Gets the value of the id property. |
void |
setId(String value)
Sets the value of the id property. |
| Method Detail |
|---|
List<javax.xml.bind.JAXBElement<?>> getContent()
You are getting this "catch-all" property because of the following reason: The field name "PortletInfo" is used by two different parts of a schema. See: line 240 of file:/var/lib/continuum/Sources/ccxjc.svn.sourceforge.net/ccxjc/trunk/target/checkout/cc-xjc-it/src/main/schemas/portlet-app_1_0.xsd line 238 of file:/var/lib/continuum/Sources/ccxjc.svn.sourceforge.net/ccxjc/trunk/target/checkout/cc-xjc-it/src/main/schemas/portlet-app_1_0.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<ResourceBundleType>
JAXBElement<String>
JAXBElement<InitParamType>
JAXBElement<SupportedLocaleType>
JAXBElement<SecurityRoleRefType>
JAXBElement<PortletNameType>
JAXBElement<DisplayNameType>
JAXBElement<SupportsType>
JAXBElement<PortletPreferencesType>
JAXBElement<ExpirationCacheType>
JAXBElement<DescriptionType>
JAXBElement<PortletInfoType>
String getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||