📄 streamerror.html
字号:
<A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="StreamError(org.xmpp.packet.StreamError.Condition)"><!-- --></A><H3>StreamError</H3><PRE>public <B>StreamError</B>(<A HREF="../../../org/xmpp/packet/StreamError.Condition.html" title="enum in org.xmpp.packet">StreamError.Condition</A> condition)</PRE><DL><DD>Construcs a new StreamError with the specified condition.<P><DL><DT><B>Parameters:</B><DD><CODE>condition</CODE> - the error condition.</DL></DL><HR><A NAME="StreamError(org.xmpp.packet.StreamError.Condition, java.lang.String)"><!-- --></A><H3>StreamError</H3><PRE>public <B>StreamError</B>(<A HREF="../../../org/xmpp/packet/StreamError.Condition.html" title="enum in org.xmpp.packet">StreamError.Condition</A> condition, <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> text)</PRE><DL><DD>Constructs a new StreamError with the specified condition and error text.<P><DL><DT><B>Parameters:</B><DD><CODE>condition</CODE> - the error condition.<DD><CODE>text</CODE> - the text description of the error.</DL></DL><HR><A NAME="StreamError(org.xmpp.packet.StreamError.Condition, java.lang.String, java.lang.String)"><!-- --></A><H3>StreamError</H3><PRE>public <B>StreamError</B>(<A HREF="../../../org/xmpp/packet/StreamError.Condition.html" title="enum in org.xmpp.packet">StreamError.Condition</A> condition, <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> 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> language)</PRE><DL><DD>Constructs a new StreamError with the specified condition and error text.<P><DL><DT><B>Parameters:</B><DD><CODE>condition</CODE> - the error condition.<DD><CODE>text</CODE> - the text description of the error.<DD><CODE>language</CODE> - the language code of the error description (e.g. "en").</DL></DL><HR><A NAME="StreamError(org.dom4j.Element)"><!-- --></A><H3>StreamError</H3><PRE>public <B>StreamError</B>(org.dom4j.Element element)</PRE><DL><DD>Constructs a new StreamError using an existing Element. This is useful for parsing incoming error Elements into StreamError objects.<P><DL><DT><B>Parameters:</B><DD><CODE>element</CODE> - the stream 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="getCondition()"><!-- --></A><H3>getCondition</H3><PRE>public <A HREF="../../../org/xmpp/packet/StreamError.Condition.html" title="enum in org.xmpp.packet">StreamError.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/StreamError.Condition.html" title="enum in org.xmpp.packet"><CODE>StreamError.Condition</CODE></A></DL></DD></DL><HR><A NAME="setCondition(org.xmpp.packet.StreamError.Condition)"><!-- --></A><H3>setCondition</H3><PRE>public void <B>setCondition</B>(<A HREF="../../../org/xmpp/packet/StreamError.Condition.html" title="enum in org.xmpp.packet">StreamError.Condition</A> 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/StreamError.Condition.html" title="enum in org.xmpp.packet"><CODE>StreamError.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> 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> 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> language)</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>language</CODE> - the language code of the description, or <tt>null</tt> to specify no language code.</DL></DD></DL><HR><A NAME="getTextLanguage()"><!-- --></A><H3>getTextLanguage</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>getTextLanguage</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 stream error.<P><DD><DL><DT><B>Returns:</B><DD>the textual XML representation of this stream 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> </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"> <A HREF="../../../org/xmpp/packet/Roster.Subscription.html" title="enum in org.xmpp.packet"><B>PREV CLASS</B></A> <A HREF="../../../org/xmpp/packet/StreamError.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/StreamError.html" target="_top"><B>FRAMES</B></A> <A HREF="StreamError.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -