org.apache.pluto.descriptors.portlet
Class PortletPreferenceDD

java.lang.Object
  extended by org.apache.pluto.descriptors.portlet.PortletPreferenceDD

public class PortletPreferenceDD
extends Object

Portlet preference definition in portlet.xml.

Since:
Jun 29, 2005 Persistent preference values that may be used for customization and personalization by the portlet. Used in: portlet-preferences

Java class for preferenceType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="preferenceType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}nameType"/>
         <element name="value" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}valueType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="read-only" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}read-onlyType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
PortletPreferencesDD

Constructor Summary
PortletPreferenceDD()
           
 
Method Summary
 String getName()
           
 List<String> getValues()
           
 boolean isReadOnly()
           
 void setName(String name)
           
 void setReadOnly(boolean readOnly)
           
 void setValues(List<String> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferenceDD

public PortletPreferenceDD()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getValues

public List<String> getValues()

setValues

public void setValues(List<String> values)

isReadOnly

public boolean isReadOnly()

setReadOnly

public void setReadOnly(boolean readOnly)


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.