⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 portletdefinitiontype.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/* * This class was automatically generated with * <a href="http://www.castor.org">Castor 0.9.5.2</a>, using an XML * Schema. * $Id: PortletDefinitionType.java 4496 2006-02-08 20:27:04Z wehrens $ */package org.gridsphere.portletcontainer.impl.descriptor;//---------------------------------///- Imported classes and packages -///---------------------------------/import org.exolab.castor.xml.Marshaller;import org.exolab.castor.xml.Unmarshaller;import java.util.ArrayList;/** * The portlet element contains the declarative data of a portlet. * Used in: portlet-app * * @version $Revision: 3558 $ $Date: 2004-09-21 07:47:21 -0700 (Tue, 21 Sep 2004) $ */public class PortletDefinitionType implements java.io.Serializable {    //--------------------------/    //- Class/Member Variables -/    //--------------------------/    /**     * Field _id     */    private java.lang.String _id;    /**     * Field _descriptionList     */    private java.util.ArrayList _descriptionList;    /**     * Field _portletName     */    private org.gridsphere.portletcontainer.impl.descriptor.PortletName _portletName;    /**     * Field _displayNameList     */    private java.util.ArrayList _displayNameList;    /**     * Field _portletClass     */    private org.gridsphere.portletcontainer.impl.descriptor.PortletClass _portletClass;    /**     * Field _initParamList     */    private java.util.ArrayList _initParamList;    /**     * Field _expirationCache     */    private org.gridsphere.portletcontainer.impl.descriptor.ExpirationCache _expirationCache;    /**     * Field _supportsList     */    private java.util.ArrayList _supportsList;    /**     * Field _supportedLocaleList     */    private java.util.ArrayList _supportedLocaleList;    /**     * Field _portletInfo     */    private org.gridsphere.portletcontainer.impl.descriptor.PortletInfo _portletInfo;    /**     * Field _portletPreferences     */    private org.gridsphere.portletcontainer.impl.descriptor.PortletPreferences _portletPreferences;    /**     * Field _securityRoleRefList     */    private java.util.ArrayList _securityRoleRefList;    /**     * Field _resourceBundle     */    private org.gridsphere.portletcontainer.impl.descriptor.ResourceBundle _resourceBundle;    //----------------/    //- Constructors -/    //----------------/    public PortletDefinitionType() {        super();        _descriptionList = new ArrayList();        _displayNameList = new ArrayList();        _initParamList = new ArrayList();        _supportsList = new ArrayList();        _supportedLocaleList = new ArrayList();        _securityRoleRefList = new ArrayList();    } //-- org.gridsphere.portletcontainer.jsr.descriptor.PortletType()    //-----------/    //- Methods -/    //-----------/    /**     * Method addDescription     *     * @param vDescription     */    public void addDescription(org.gridsphere.portletcontainer.impl.descriptor.Description vDescription)            throws java.lang.IndexOutOfBoundsException {        _descriptionList.add(vDescription);    } //-- void addDescription(org.gridsphere.portletcontainer.jsr.descriptor.Description)    /**     * Method addDescription     *     * @param index     * @param vDescription     */    public void addDescription(int index, org.gridsphere.portletcontainer.impl.descriptor.Description vDescription)            throws java.lang.IndexOutOfBoundsException {        _descriptionList.add(index, vDescription);    } //-- void addDescription(int, org.gridsphere.portletcontainer.jsr.descriptor.Description)    /**     * Method addDisplayName     *     * @param vDisplayName     */    public void addDisplayName(org.gridsphere.portletcontainer.impl.descriptor.DisplayName vDisplayName)            throws java.lang.IndexOutOfBoundsException {        _displayNameList.add(vDisplayName);    } //-- void addDisplayName(org.gridsphere.portletcontainer.jsr.descriptor.DisplayName)    /**     * Method addDisplayName     *     * @param index     * @param vDisplayName     */    public void addDisplayName(int index, org.gridsphere.portletcontainer.impl.descriptor.DisplayName vDisplayName)            throws java.lang.IndexOutOfBoundsException {        _displayNameList.add(index, vDisplayName);    } //-- void addDisplayName(int, org.gridsphere.portletcontainer.jsr.descriptor.DisplayName)    /**     * Method addInitParam     *     * @param vInitParam     */    public void addInitParam(org.gridsphere.portletcontainer.impl.descriptor.InitParam vInitParam)            throws java.lang.IndexOutOfBoundsException {        _initParamList.add(vInitParam);    } //-- void addInitParam(org.gridsphere.portletcontainer.jsr.descriptor.InitParam)    /**     * Method addInitParam     *     * @param index     * @param vInitParam     */    public void addInitParam(int index, org.gridsphere.portletcontainer.impl.descriptor.InitParam vInitParam)            throws java.lang.IndexOutOfBoundsException {        _initParamList.add(index, vInitParam);    } //-- void addInitParam(int, org.gridsphere.portletcontainer.jsr.descriptor.InitParam)    /**     * Method addSecurityRoleRef     *     * @param vSecurityRoleRef     */    public void addSecurityRoleRef(org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef vSecurityRoleRef)            throws java.lang.IndexOutOfBoundsException {        _securityRoleRefList.add(vSecurityRoleRef);    } //-- void addSecurityRoleRef(org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef)    /**     * Method addSecurityRoleRef     *     * @param index     * @param vSecurityRoleRef     */    public void addSecurityRoleRef(int index, org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef vSecurityRoleRef)            throws java.lang.IndexOutOfBoundsException {        _securityRoleRefList.add(index, vSecurityRoleRef);    } //-- void addSecurityRoleRef(int, org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef)    /**     * Method addSupportedLocale     *     * @param vSupportedLocale     */    public void addSupportedLocale(org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale vSupportedLocale)            throws java.lang.IndexOutOfBoundsException {        _supportedLocaleList.add(vSupportedLocale);    } //-- void addSupportedLocale(org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale)    /**     * Method addSupportedLocale     *     * @param index     * @param vSupportedLocale     */    public void addSupportedLocale(int index, org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale vSupportedLocale)            throws java.lang.IndexOutOfBoundsException {        _supportedLocaleList.add(index, vSupportedLocale);    } //-- void addSupportedLocale(int, org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale)    /**     * Method addSupports     *     * @param vSupports     */    public void addSupports(org.gridsphere.portletcontainer.impl.descriptor.Supports vSupports)            throws java.lang.IndexOutOfBoundsException {        _supportsList.add(vSupports);    } //-- void addSupports(org.gridsphere.portletcontainer.jsr.descriptor.Supports)    /**     * Method addSupports     *     * @param index     * @param vSupports     */    public void addSupports(int index, org.gridsphere.portletcontainer.impl.descriptor.Supports vSupports)            throws java.lang.IndexOutOfBoundsException {        _supportsList.add(index, vSupports);    } //-- void addSupports(int, org.gridsphere.portletcontainer.jsr.descriptor.Supports)    /**     * Method clearDescription     */    public void clearDescription() {        _descriptionList.clear();    } //-- void clearDescription()    /**     * Method clearDisplayName     */    public void clearDisplayName() {        _displayNameList.clear();    } //-- void clearDisplayName()    /**     * Method clearInitParam     */    public void clearInitParam() {        _initParamList.clear();    } //-- void clearInitParam()    /**     * Method clearSecurityRoleRef     */    public void clearSecurityRoleRef() {        _securityRoleRefList.clear();    } //-- void clearSecurityRoleRef()    /**     * Method clearSupportedLocale     */    public void clearSupportedLocale() {        _supportedLocaleList.clear();    } //-- void clearSupportedLocale()    /**     * Method clearSupports     */    public void clearSupports() {        _supportsList.clear();    } //-- void clearSupports()    /**     * Method enumerateDescription     */    public java.util.Enumeration enumerateDescription() {        return new org.exolab.castor.util.IteratorEnumeration(_descriptionList.iterator());    } //-- java.util.Enumeration enumerateDescription()    /**     * Method enumerateDisplayName     */    public java.util.Enumeration enumerateDisplayName() {        return new org.exolab.castor.util.IteratorEnumeration(_displayNameList.iterator());    } //-- java.util.Enumeration enumerateDisplayName()    /**     * Method enumerateInitParam     */    public java.util.Enumeration enumerateInitParam() {        return new org.exolab.castor.util.IteratorEnumeration(_initParamList.iterator());    } //-- java.util.Enumeration enumerateInitParam()    /**     * Method enumerateSecurityRoleRef     */    public java.util.Enumeration enumerateSecurityRoleRef() {        return new org.exolab.castor.util.IteratorEnumeration(_securityRoleRefList.iterator());    } //-- java.util.Enumeration enumerateSecurityRoleRef()    /**     * Method enumerateSupportedLocale     */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -