📄 portletconfig.html.svn-base
字号:
<P><DD><DL><DT><B>Parameters:</B><DD><CODE>locale</CODE> - the locale for which to retrieve the resource bundle<DT><B>Returns:</B><DD>the resource bundle for the given locale</DL></DD></DL><HR><A NAME="getInitParameter(java.lang.String)"><!-- --></A><H3>getInitParameter</H3><PRE>java.lang.String <B>getInitParameter</B>(java.lang.String name)</PRE><DL><DD>Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - a <code>String</code> specifying the name of the initialization parameter<DT><B>Returns:</B><DD>a <code>String</code> containing the value of the initialization parameter<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if name is <code>null</code>.</DL></DD></DL><HR><A NAME="getInitParameterNames()"><!-- --></A><H3>getInitParameterNames</H3><PRE>java.util.Enumeration<java.lang.String> <B>getInitParameterNames</B>()</PRE><DL><DD>Returns the names of the portlet initialization parameters as an <code>Enumeration</code> of String objects, or an empty <code>Enumeration</code> if the portlet has no initialization parameters.<P><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of <code>String</code> objects containing the names of the portlet initialization parameters, or an empty <code>Enumeration</code> if the portlet has no initialization parameters.</DL></DD></DL><HR><A NAME="getPublicRenderParameterNames()"><!-- --></A><H3>getPublicRenderParameterNames</H3><PRE>java.util.Enumeration<java.lang.String> <B>getPublicRenderParameterNames</B>()</PRE><DL><DD>Returns the names of the public render parameters supported by the portlet as an <code>Enumeration</code> of <code>String</code> objects, or an empty <code>Enumeration</code> if the portlet has not defined public render parameters. <p> Public render parameters are defined in the portlet deployment descriptor with the <code>supported-public-render-parameter</code> element.<P><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of <code>String</code> objects containing the names of the public render parameters, or an empty <code>Enumeration</code> if the portlet has not defined support for any public render parameters in the portlet deployment descriptor.<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><HR><A NAME="getDefaultNamespace()"><!-- --></A><H3>getDefaultNamespace</H3><PRE>java.lang.String <B>getDefaultNamespace</B>()</PRE><DL><DD>Returns the default namespace for events and public render parameters. This namespace is defined in the portlet deployment descriptor with the <code>default-namespace</code> element. <p> If no default namespace is defined in the portlet deployment descriptor this methods returns the XML default namespace <code>XMLConstants.NULL_NS_URI</code>.<P><DD><DL><DT><B>Returns:</B><DD>the default namespace defined in the portlet deployment descriptor, or <code>XMLConstants.NULL_NS_URI</code> is non is defined.<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><HR><A NAME="getPublishingEventQNames()"><!-- --></A><H3>getPublishingEventQNames</H3><PRE>java.util.Enumeration<javax.xml.namespace.QName> <B>getPublishingEventQNames</B>()</PRE><DL><DD>Returns the QNames of the publishing events supported by the portlet as an <code>Enumeration</code> of <code>QName</code> objects, or an empty <code>Enumeration</code> if the portlet has not defined any publishing events. <p> Publishing events are defined in the portlet deployment descriptor with the <code>supported-publishing-event</code> element. <p> Note that this call does not return any events published that have not been declared in the deployment descriptor as supported. <p> If the event was defined using the <code>name</code> element instead of the <code>qname</code> element the defined default namespace is added as namespace for the returned QName.<P><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of <code>QName</code> objects containing the names of the publishing events, or an empty <code>Enumeration</code> if the portlet has not defined any support for publishing events in the deployment descriptor.<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><HR><A NAME="getProcessingEventQNames()"><!-- --></A><H3>getProcessingEventQNames</H3><PRE>java.util.Enumeration<javax.xml.namespace.QName> <B>getProcessingEventQNames</B>()</PRE><DL><DD>Returns the QNames of the processing events supported by the portlet as an <code>Enumeration</code> of <code>QName</code> objects, or an empty <code>Enumeration</code> if the portlet has not defined any processing events. <p> Processing events are defined in the portlet deployment descriptor with the <code>supported-processing-event</code> element. <p> If the event was defined using the <code>name</code> element instead of the <code>qname</code> element the defined default namespace is added as namespace for the returned QName.<P><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of <code>QName</code> objects containing the names of the processing events, or an empty <code>Enumeration</code> if the portlet has not defined any support for processing events in the deployment descriptor.<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><HR><A NAME="getSupportedLocales()"><!-- --></A><H3>getSupportedLocales</H3><PRE>java.util.Enumeration<java.util.Locale> <B>getSupportedLocales</B>()</PRE><DL><DD>Returns the locales supported by the portlet as an <code>Enumeration</code> of <code>Locale</code> objects, or an empty <code>Enumeration</code> if the portlet has not defined any supported locales. <p> Supported locales are defined in the portlet deployment descriptor with the <code>supported-locale</code> element.<P><DD><DL><DT><B>Returns:</B><DD>an <code>Enumeration</code> of <code>Locale</code> objects containing the supported locales, or an empty <code>Enumeration</code> if the portlet has not defined any supported locales in the deployment descriptor.<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><HR><A NAME="getContainerRuntimeOptions()"><!-- --></A><H3>getContainerRuntimeOptions</H3><PRE>java.util.Map<java.lang.String,java.lang.String[]> <B>getContainerRuntimeOptions</B>()</PRE><DL><DD>Returns the container runtime options and values for this portlet. <p> The portlet can set container runtime options in the <code>portlet.xml</code> via the <code>container-runtime-option</code> element with a name and a value on the application and portlet level.<br> If a container runtime option is set on the portlet application level and on the portlet level with the same name the setting on the portlet level takes precedence and overwrites the one set on the portal application level. <p> The map returned from this method will provide the subset the portlet container supports of the options the portlet has specified in the <code>portlet.xml</code>. Options that the portlet container does not support will not be returned in this map. <p> The map will contain name of the runtime option as key of type String and the runtime options as values of type String array (<code>String[]</code>) with the values specified in the <code>portlet.xml</code> deployment descriptor.<P><DD><DL><DT><B>Returns:</B><DD>an immutable <code>Map</code> containing portlet container runtime options names as keys and the container runtime values as map values, or an empty <code>Map</code> if no portlet container runtime options are set in the <code>portlet.xml</code> or supported by this portlet container. The keys in the map are of type String. The values in the map are of type String array (<code>String[]</code>).<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PortletConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../javax/portlet/Portlet.html" title="interface in javax.portlet"><B>PREV CLASS</B></A> <A HREF="../../javax/portlet/PortletContext.html" title="interface in javax.portlet"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?javax/portlet/PortletConfig.html" target="_top"><B>FRAMES</B></A> <A HREF="PortletConfig.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -