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

📄 packeterror.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PacketError(org.xmpp.packet.PacketError.Condition)"><!-- --></A><H3>PacketError</H3><PRE>public <B>PacketError</B>(<A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A>&nbsp;condition)</PRE><DL><DD>Construcs a new PacketError with the specified condition. The error type will be set to the default for the specified condition.<P><DL><DT><B>Parameters:</B><DD><CODE>condition</CODE> - the error condition.</DL></DL><HR><A NAME="PacketError(org.xmpp.packet.PacketError.Condition, org.xmpp.packet.PacketError.Type)"><!-- --></A><H3>PacketError</H3><PRE>public <B>PacketError</B>(<A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A>&nbsp;condition,                   <A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet">PacketError.Type</A>&nbsp;type)</PRE><DL><DD>Constructs a new PacketError with the specified condition and type.<P><DL><DT><B>Parameters:</B><DD><CODE>condition</CODE> - the error condition.<DD><CODE>type</CODE> - the error type.</DL></DL><HR><A NAME="PacketError(org.xmpp.packet.PacketError.Condition, org.xmpp.packet.PacketError.Type, java.lang.String)"><!-- --></A><H3>PacketError</H3><PRE>public <B>PacketError</B>(<A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A>&nbsp;condition,                   <A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet">PacketError.Type</A>&nbsp;type,                   <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>&nbsp;text)</PRE><DL><DD>Constructs a new PacketError.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the error type.<DD><CODE>condition</CODE> - the error condition.<DD><CODE>text</CODE> - the text description of the error.</DL></DL><HR><A NAME="PacketError(org.xmpp.packet.PacketError.Condition, org.xmpp.packet.PacketError.Type, java.lang.String, java.lang.String)"><!-- --></A><H3>PacketError</H3><PRE>public <B>PacketError</B>(<A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A>&nbsp;condition,                   <A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet">PacketError.Type</A>&nbsp;type,                   <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>&nbsp;text,                   <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>&nbsp;lang)</PRE><DL><DD>Constructs a new PacketError.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the error type.<DD><CODE>condition</CODE> - the error condition.<DD><CODE>text</CODE> - the text description of the error.<DD><CODE>lang</CODE> - the language code of the error description (e.g. "en").</DL></DL><HR><A NAME="PacketError(org.dom4j.Element)"><!-- --></A><H3>PacketError</H3><PRE>public <B>PacketError</B>(org.dom4j.Element&nbsp;element)</PRE><DL><DD>Constructs a new PacketError using an existing Element. This is useful for parsing incoming error Elements into PacketError objects.<P><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - the error Element.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public <A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet">PacketError.Type</A> <B>getType</B>()</PRE><DL><DD>Returns the error type.<P><DD><DL><DT><B>Returns:</B><DD>the error type.<DT><B>See Also:</B><DD><A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet"><CODE>PacketError.Type</CODE></A></DL></DD></DL><HR><A NAME="setType(org.xmpp.packet.PacketError.Type)"><!-- --></A><H3>setType</H3><PRE>public void <B>setType</B>(<A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet">PacketError.Type</A>&nbsp;type)</PRE><DL><DD>Sets the error type.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the error type.<DT><B>See Also:</B><DD><A HREF="../../../org/xmpp/packet/PacketError.Type.html" title="enum in org.xmpp.packet"><CODE>PacketError.Type</CODE></A></DL></DD></DL><HR><A NAME="getCondition()"><!-- --></A><H3>getCondition</H3><PRE>public <A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A> <B>getCondition</B>()</PRE><DL><DD>Returns the error condition.<P><DD><DL><DT><B>Returns:</B><DD>the error condition.<DT><B>See Also:</B><DD><A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet"><CODE>PacketError.Condition</CODE></A></DL></DD></DL><HR><A NAME="setCondition(org.xmpp.packet.PacketError.Condition)"><!-- --></A><H3>setCondition</H3><PRE>public void <B>setCondition</B>(<A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet">PacketError.Condition</A>&nbsp;condition)</PRE><DL><DD>Sets the error condition.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>condition</CODE> - the error condition.<DT><B>See Also:</B><DD><A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet"><CODE>PacketError.Condition</CODE></A></DL></DD></DL><HR><A NAME="getText()"><!-- --></A><H3>getText</H3><PRE>public <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>getText</B>()</PRE><DL><DD>Returns a text description of the error, or <tt>null</tt> if there is no text description.<P><DD><DL><DT><B>Returns:</B><DD>the text description of the error.</DL></DD></DL><HR><A NAME="setText(java.lang.String)"><!-- --></A><H3>setText</H3><PRE>public void <B>setText</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>&nbsp;text)</PRE><DL><DD>Sets the text description of the error.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the text description of the error.</DL></DD></DL><HR><A NAME="setText(java.lang.String, java.lang.String)"><!-- --></A><H3>setText</H3><PRE>public void <B>setText</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>&nbsp;text,                    <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>&nbsp;lang)</PRE><DL><DD>Sets the text description of the error. Optionally, a language code can be specified to indicate the language of the description.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the text description of the error.<DD><CODE>lang</CODE> - the language code of the description, or <tt>null</tt> to specify      no language code.</DL></DD></DL><HR><A NAME="getTextLang()"><!-- --></A><H3>getTextLang</H3><PRE>public <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>getTextLang</B>()</PRE><DL><DD>Returns the text description's language code, or <tt>null</tt> if there is no language code associated with the description text.<P><DD><DL><DT><B>Returns:</B><DD>the language code of the text description, if it exists.</DL></DD></DL><HR><A NAME="getElement()"><!-- --></A><H3>getElement</H3><PRE>public org.dom4j.Element <B>getElement</B>()</PRE><DL><DD>Returns the DOM4J Element that backs the error. The element is the definitive representation of the error and can be manipulated directly to change error contents.<P><DD><DL><DT><B>Returns:</B><DD>the DOM4J Element.</DL></DD></DL><HR><A NAME="toXML()"><!-- --></A><H3>toXML</H3><PRE>public <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>toXML</B>()</PRE><DL><DD>Returns the textual XML representation of this error.<P><DD><DL><DT><B>Returns:</B><DD>the textual XML representation of this error.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <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>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL></DD><DD><DL></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../org/xmpp/packet/Packet.html" title="class in org.xmpp.packet"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/xmpp/packet/PacketError.Condition.html" title="enum in org.xmpp.packet"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?org/xmpp/packet/PacketError.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PacketError.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

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