📄 portletdefinitiontype.java
字号:
public java.util.Enumeration enumerateSupportedLocale() { return new org.exolab.castor.util.IteratorEnumeration(_supportedLocaleList.iterator()); } //-- java.util.Enumeration enumerateSupportedLocale() /** * Method enumerateSupports */ public java.util.Enumeration enumerateSupports() { return new org.exolab.castor.util.IteratorEnumeration(_supportsList.iterator()); } //-- java.util.Enumeration enumerateSupports() /** * Method getDescription * * @param index */ public org.gridsphere.portletcontainer.impl.descriptor.Description getDescription(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _descriptionList.size())) { throw new IndexOutOfBoundsException(); } return (org.gridsphere.portletcontainer.impl.descriptor.Description) _descriptionList.get(index); } //-- org.gridsphere.portletcontainer.jsr.descriptor.Description getDescription(int) /** * Method getDescription */ public org.gridsphere.portletcontainer.impl.descriptor.Description[] getDescription() { int size = _descriptionList.size(); org.gridsphere.portletcontainer.impl.descriptor.Description[] mArray = new org.gridsphere.portletcontainer.impl.descriptor.Description[size]; for (int index = 0; index < size; index++) { mArray[index] = (org.gridsphere.portletcontainer.impl.descriptor.Description) _descriptionList.get(index); } return mArray; } //-- org.gridsphere.portletcontainer.jsr.descriptor.Description[] getDescription() /** * Method getDescriptionCount */ public int getDescriptionCount() { return _descriptionList.size(); } //-- int getDescriptionCount() /** * Method getDisplayName * * @param index */ public org.gridsphere.portletcontainer.impl.descriptor.DisplayName getDisplayName(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _displayNameList.size())) { throw new IndexOutOfBoundsException(); } return (org.gridsphere.portletcontainer.impl.descriptor.DisplayName) _displayNameList.get(index); } //-- org.gridsphere.portletcontainer.jsr.descriptor.DisplayName getDisplayName(int) /** * Method getDisplayName */ public org.gridsphere.portletcontainer.impl.descriptor.DisplayName[] getDisplayName() { int size = _displayNameList.size(); org.gridsphere.portletcontainer.impl.descriptor.DisplayName[] mArray = new org.gridsphere.portletcontainer.impl.descriptor.DisplayName[size]; for (int index = 0; index < size; index++) { mArray[index] = (org.gridsphere.portletcontainer.impl.descriptor.DisplayName) _displayNameList.get(index); } return mArray; } //-- org.gridsphere.portletcontainer.jsr.descriptor.DisplayName[] getDisplayName() /** * Method getDisplayNameCount */ public int getDisplayNameCount() { return _displayNameList.size(); } //-- int getDisplayNameCount() /** * Returns the value of field 'expirationCache'. * * @return the value of field 'expirationCache'. */ public org.gridsphere.portletcontainer.impl.descriptor.ExpirationCache getExpirationCache() { return this._expirationCache; } //-- org.gridsphere.portletcontainer.jsr.descriptor.ExpirationCache getExpirationCache() /** * Returns the value of field 'id'. * * @return the value of field 'id'. */ public java.lang.String getId() { return this._id; } //-- java.lang.String getId() /** * Method getInitParam * * @param index */ public org.gridsphere.portletcontainer.impl.descriptor.InitParam getInitParam(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _initParamList.size())) { throw new IndexOutOfBoundsException(); } return (org.gridsphere.portletcontainer.impl.descriptor.InitParam) _initParamList.get(index); } //-- org.gridsphere.portletcontainer.jsr.descriptor.InitParam getInitParam(int) /** * Method getInitParam */ public org.gridsphere.portletcontainer.impl.descriptor.InitParam[] getInitParam() { int size = _initParamList.size(); org.gridsphere.portletcontainer.impl.descriptor.InitParam[] mArray = new org.gridsphere.portletcontainer.impl.descriptor.InitParam[size]; for (int index = 0; index < size; index++) { mArray[index] = (org.gridsphere.portletcontainer.impl.descriptor.InitParam) _initParamList.get(index); } return mArray; } //-- org.gridsphere.portletcontainer.jsr.descriptor.InitParam[] getInitParam() /** * Method getInitParamCount */ public int getInitParamCount() { return _initParamList.size(); } //-- int getInitParamCount() /** * Returns the value of field 'portletClass'. * * @return the value of field 'portletClass'. */ public org.gridsphere.portletcontainer.impl.descriptor.PortletClass getPortletClass() { return this._portletClass; } //-- java.lang.String getPortletID() /** * Returns the value of field 'portletName'. * * @return the value of field 'portletName'. */ public org.gridsphere.portletcontainer.impl.descriptor.PortletName getPortletName() { return this._portletName; } //-- org.gridsphere.portletcontainer.jsr.descriptor.PortletName getPortletName() /** * Returns the value of field 'portletPreferences'. * * @return the value of field 'portletPreferences'. */ public org.gridsphere.portletcontainer.impl.descriptor.PortletPreferences getPortletPreferences() { return this._portletPreferences; } //-- org.gridsphere.portletcontainer.jsr.descriptor.PortletPreferences getPortletPreferences() /** * Returns the value of field 'portletInfo'. * * @return the value of field 'portletInfo'. */ public org.gridsphere.portletcontainer.impl.descriptor.PortletInfo getPortletInfo() { return this._portletInfo; } //-- org.gridsphere.portletcontainer.jsr.descriptor.PortletInfo getPortletInfo() /** * Returns the value of field 'resourceBundle'. * * @return the value of field 'resourceBundle'. */ public org.gridsphere.portletcontainer.impl.descriptor.ResourceBundle getResourceBundle() { return this._resourceBundle; } //-- org.gridsphere.portletcontainer.jsr.descriptor.ResourceBundle getResourceBundle() /** * Method getSecurityRoleRef * * @param index */ public org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef getSecurityRoleRef(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _securityRoleRefList.size())) { throw new IndexOutOfBoundsException(); } return (org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef) _securityRoleRefList.get(index); } //-- org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef getSecurityRoleRef(int) /** * Method getSecurityRoleRef */ public org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef[] getSecurityRoleRef() { int size = _securityRoleRefList.size(); org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef[] mArray = new org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef[size]; for (int index = 0; index < size; index++) { mArray[index] = (org.gridsphere.portletcontainer.impl.descriptor.SecurityRoleRef) _securityRoleRefList.get(index); } return mArray; } //-- org.gridsphere.portletcontainer.jsr.descriptor.SecurityRoleRef[] getSecurityRoleRef() /** * Method getSecurityRoleRefCount */ public int getSecurityRoleRefCount() { return _securityRoleRefList.size(); } //-- int getSecurityRoleRefCount() /** * Method getSupportedLocale * * @param index */ public org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale getSupportedLocale(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _supportedLocaleList.size())) { throw new IndexOutOfBoundsException(); } return (org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale) _supportedLocaleList.get(index); } //-- org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale getSupportedLocale(int) /** * Method getSupportedLocale */ public org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale[] getSupportedLocale() { int size = _supportedLocaleList.size(); org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale[] mArray = new org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale[size]; for (int index = 0; index < size; index++) { mArray[index] = (org.gridsphere.portletcontainer.impl.descriptor.SupportedLocale) _supportedLocaleList.get(index); } return mArray; } //-- org.gridsphere.portletcontainer.jsr.descriptor.SupportedLocale[] getSupportedLocale() /** * Method getSupportedLocaleCount */ public int getSupportedLocaleCount() { return _supportedLocaleList.size(); } //-- int getSupportedLocaleCount() /** * Method getSupports * * @param index */ public org.gridsphere.portletcontainer.impl.descriptor.Supports getSupports(int index) throws java.lang.IndexOutOfBoundsException { //-- check bounds for index if ((index < 0) || (index > _supportsList.size())) { throw new IndexOutOfBoundsException(); } return (org.gridsphere.portletcontainer.impl.descriptor.Supports) _supportsList.get(index); } //-- org.gridsphere.portletcontainer.jsr.descriptor.Supports getSupports(int) /** * Method getSupports */ public org.gridsphere.portletcontainer.impl.descriptor.Supports[] getSupports() { int size = _supportsList.size(); org.gridsphere.portletcontainer.impl.descriptor.Supports[] mArray = new org.gridsphere.portletcontainer.impl.descriptor.Supports[size]; for (int index = 0; index < size; index++) { mArray[index] = (org.gridsphere.portletcontainer.impl.descriptor.Supports) _supportsList.get(index); } return mArray; } //-- org.gridsphere.portletcontainer.jsr.descriptor.Supports[] getSupports() /** * Method getSupportsCount */ public int getSupportsCount() { return _supportsList.size(); } //-- int getSupportsCount() /** * Method isValid */ public boolean isValid() { try { validate(); } catch (org.exolab.castor.xml.ValidationException vex) { return false; } return true; } //-- boolean isValid() /** * Method marshal * * @param out */ public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { Marshaller.marshal(this, out); } //-- void marshal(java.io.Writer) /** * Method marshal * * @param handler */ public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { Marshaller.marshal(this, handler); } //-- void marshal(org.xml.sax.ContentHandler) /** * Method removeDescription
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -