📄 adminconsole.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="addModel(java.lang.String, java.io.InputStream)"><!-- --></A><H3>addModel</H3><PRE>public static void <B>addModel</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in) throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD>Adds XML stream to the tabs/sidebar model.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name.<DD><CODE>in</CODE> - the XML input stream.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - if an error occurs when parsing the XML or adding it to the model.</DL></DD></DL><HR><A NAME="addModel(java.lang.String, org.dom4j.Element)"><!-- --></A><H3>addModel</H3><PRE>public static void <B>addModel</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name, org.dom4j.Element element) throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></PRE><DL><DD>Adds an <adminconsole> Element to the tabs/sidebar model.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name.<DD><CODE>element</CODE> - the Element<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A></CODE> - if an error occurs.</DL></DD></DL><HR><A NAME="removeModel(java.lang.String)"><!-- --></A><H3>removeModel</H3><PRE>public static void <B>removeModel</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Removes an <adminconsole> Element from the tabs/sidebar model.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name.</DL></DD></DL><HR><A NAME="getAppName()"><!-- --></A><H3>getAppName</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAppName</B>()</PRE><DL><DD>Returns the name of the application.<P><DD><DL><DT><B>Returns:</B><DD>the name of the application.</DL></DD></DL><HR><A NAME="getLogoImage()"><!-- --></A><H3>getLogoImage</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getLogoImage</B>()</PRE><DL><DD>Returns the URL of the main logo image for the admin console.<P><DD><DL><DT><B>Returns:</B><DD>the logo image.</DL></DD></DL><HR><A NAME="getLoginLogoImage()"><!-- --></A><H3>getLoginLogoImage</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getLoginLogoImage</B>()</PRE><DL><DD>Returns the URL of the login image for the admin console.<P><DD><DL><DT><B>Returns:</B><DD>the login image.</DL></DD></DL><HR><A NAME="getVersionString()"><!-- --></A><H3>getVersionString</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getVersionString</B>()</PRE><DL><DD>Returns the version string displayed in the admin console.<P><DD><DL><DT><B>Returns:</B><DD>the version string.</DL></DD></DL><HR><A NAME="getModel()"><!-- --></A><H3>getModel</H3><PRE>public static org.dom4j.Element <B>getModel</B>()</PRE><DL><DD>Returns the model. The model should be considered read-only.<P><DD><DL><DT><B>Returns:</B><DD>the model.</DL></DD></DL><HR><A NAME="getElemnetByID(java.lang.String)"><!-- --></A><H3>getElemnetByID</H3><PRE>public static org.dom4j.Element <B>getElemnetByID</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> id)</PRE><DL><DD>Convenience method to select an element from the model by its ID. If an element with a matching ID is not found, <tt>null</tt> will be returned.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID.<DT><B>Returns:</B><DD>the element.</DL></DD></DL><HR><A NAME="getAdminText(java.lang.String, java.lang.String)"><!-- --></A><H3>getAdminText</H3><PRE>public static <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAdminText</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> string, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> pluginName)</PRE><DL><DD>Returns a text element for the admin console, applying the appropriate locale. Internationalization logic will only be applied if the String is specially encoded in the format "${key.name}". If it is, the String is pulled from the resource bundle. If the pluginName is not <tt>null</tt>, the plugin's resource bundle will be used to look up the key.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>string</CODE> - the String.<DD><CODE>pluginName</CODE> - the name of the plugin that the i18n String can be found in, or <tt>null</tt> if the standard Openfire resource bundle should be used.<DT><B>Returns:</B><DD>the string, or if the string is encoded as an i18n key, the value from the appropriate resource bundle.</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="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-all.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><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../org/jivesoftware/admin/AdminPageBean.html" title="class in org.jivesoftware.admin"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/jivesoftware/admin/AdminConsole.html" target="_top"><B>FRAMES</B></A> <A HREF="AdminConsole.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><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -