PageRenderTime 112ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/docs/org/apache/xmlrpc/parser/XmlRpcResponseParser.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 490 lines | 415 code | 52 blank | 23 comment | 0 complexity | 73c9e7f99ea11c8a3979cddeecb33d81 MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_0) on Mon Apr 20 21:45:58 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. XmlRpcResponseParser (Apache XML-RPC 3.1.2 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2009-04-20">
  11. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  12. <SCRIPT type="text/javascript">
  13. function windowTitle()
  14. {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="XmlRpcResponseParser (Apache XML-RPC 3.1.2 API)";
  17. }
  18. }
  19. </SCRIPT>
  20. <NOSCRIPT>
  21. </NOSCRIPT>
  22. </HEAD>
  23. <BODY BGCOLOR="white" onload="windowTitle();">
  24. <HR>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <A NAME="navbar_top"><!-- --></A>
  27. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  28. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  29. <TR>
  30. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  31. <A NAME="navbar_top_firstrow"><!-- --></A>
  32. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  33. <TR ALIGN="center" VALIGN="top">
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcResponseParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  40. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  41. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  42. </TR>
  43. </TABLE>
  44. </TD>
  45. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  46. </EM>
  47. </TD>
  48. </TR>
  49. <TR>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. &nbsp;<A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcRequestParser.html" title="class in org.apache.xmlrpc.parser"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;NEXT CLASS</FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/parser/XmlRpcResponseParser.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="XmlRpcResponseParser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlrpc.parser.RecursiveTypeParserImpl">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. org.apache.xmlrpc.parser</FONT>
  82. <BR>
  83. Class XmlRpcResponseParser</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html" title="class in org.apache.xmlrpc.parser">org.apache.xmlrpc.parser.TypeParserImpl</A>
  87. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">org.apache.xmlrpc.parser.RecursiveTypeParserImpl</A>
  88. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.parser.XmlRpcResponseParser</B>
  89. </PRE>
  90. <DL>
  91. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/parser/TypeParser.html" title="interface in org.apache.xmlrpc.parser">TypeParser</A>, org.xml.sax.ContentHandler</DD>
  92. </DL>
  93. <HR>
  94. <DL>
  95. <DT><PRE>public class <B>XmlRpcResponseParser</B><DT>extends <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></DL>
  96. </PRE>
  97. <P>
  98. A SAX parser for an <A HREF="../../../../org/apache/xmlrpc/server/XmlRpcServer.html" title="class in org.apache.xmlrpc.server"><CODE>XmlRpcServer</CODE></A>'s
  99. response.
  100. <P>
  101. <P>
  102. <HR>
  103. <P>
  104. <!-- =========== FIELD SUMMARY =========== -->
  105. <A NAME="field_summary"><!-- --></A>
  106. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  107. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  108. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  109. <B>Field Summary</B></FONT></TH>
  110. </TR>
  111. </TABLE>
  112. &nbsp;<A NAME="fields_inherited_from_class_org.apache.xmlrpc.parser.RecursiveTypeParserImpl"><!-- --></A>
  113. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  114. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  115. <TH ALIGN="left"><B>Fields inherited from class org.apache.xmlrpc.parser.<A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></B></TH>
  116. </TR>
  117. <TR BGCOLOR="white" CLASS="TableRowColor">
  118. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#cfg">cfg</A></CODE></TD>
  119. </TR>
  120. </TABLE>
  121. &nbsp;
  122. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  123. <A NAME="constructor_summary"><!-- --></A>
  124. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  125. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  126. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  127. <B>Constructor Summary</B></FONT></TH>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#XmlRpcResponseParser(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig, org.apache.xmlrpc.common.TypeFactory)">XmlRpcResponseParser</A></B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig,
  131. <A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common">TypeFactory</A>&nbsp;pTypeFactory)</CODE>
  132. <BR>
  133. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance.</TD>
  134. </TR>
  135. </TABLE>
  136. &nbsp;
  137. <!-- ========== METHOD SUMMARY =========== -->
  138. <A NAME="method_summary"><!-- --></A>
  139. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  140. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  141. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  142. <B>Method Summary</B></FONT></TH>
  143. </TR>
  144. <TR BGCOLOR="white" CLASS="TableRowColor">
  145. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  146. <CODE>protected &nbsp;void</CODE></FONT></TD>
  147. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#addResult(java.lang.Object)">addResult</A></B>(java.lang.Object&nbsp;pResult)</CODE>
  148. <BR>
  149. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  153. <CODE>&nbsp;void</CODE></FONT></TD>
  154. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A></B>(java.lang.String&nbsp;pURI,
  155. java.lang.String&nbsp;pLocalName,
  156. java.lang.String&nbsp;pQName)</CODE>
  157. <BR>
  158. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  159. </TR>
  160. <TR BGCOLOR="white" CLASS="TableRowColor">
  161. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  162. <CODE>&nbsp;java.lang.Throwable</CODE></FONT></TD>
  163. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#getErrorCause()">getErrorCause</A></B>()</CODE>
  164. <BR>
  165. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the response contained a fault, returns the (optional)
  166. exception.</TD>
  167. </TR>
  168. <TR BGCOLOR="white" CLASS="TableRowColor">
  169. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  170. <CODE>&nbsp;int</CODE></FONT></TD>
  171. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#getErrorCode()">getErrorCode</A></B>()</CODE>
  172. <BR>
  173. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the response contained a fault, returns the error code.</TD>
  174. </TR>
  175. <TR BGCOLOR="white" CLASS="TableRowColor">
  176. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  177. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  178. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#getErrorMessage()">getErrorMessage</A></B>()</CODE>
  179. <BR>
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the response contained a fault, returns the error message.</TD>
  181. </TR>
  182. <TR BGCOLOR="white" CLASS="TableRowColor">
  183. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  184. <CODE>&nbsp;boolean</CODE></FONT></TD>
  185. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#isSuccess()">isSuccess</A></B>()</CODE>
  186. <BR>
  187. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the response returned success.</TD>
  188. </TR>
  189. <TR BGCOLOR="white" CLASS="TableRowColor">
  190. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  191. <CODE>&nbsp;void</CODE></FONT></TD>
  192. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#startDocument()">startDocument</A></B>()</CODE>
  193. <BR>
  194. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  195. </TR>
  196. <TR BGCOLOR="white" CLASS="TableRowColor">
  197. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  198. <CODE>&nbsp;void</CODE></FONT></TD>
  199. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A></B>(java.lang.String&nbsp;pURI,
  200. java.lang.String&nbsp;pLocalName,
  201. java.lang.String&nbsp;pQName,
  202. org.xml.sax.Attributes&nbsp;pAttrs)</CODE>
  203. <BR>
  204. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  205. </TR>
  206. </TABLE>
  207. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.parser.RecursiveTypeParserImpl"><!-- --></A>
  208. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  209. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  210. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.parser.<A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></B></TH>
  211. </TR>
  212. <TR BGCOLOR="white" CLASS="TableRowColor">
  213. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#characters(char[], int, int)">characters</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#endPrefixMapping(java.lang.String)">endPrefixMapping</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#endValueTag()">endValueTag</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#ignorableWhitespace(char[], int, int)">ignorableWhitespace</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#processingInstruction(java.lang.String, java.lang.String)">processingInstruction</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#skippedEntity(java.lang.String)">skippedEntity</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#startPrefixMapping(java.lang.String, java.lang.String)">startPrefixMapping</A>, <A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#startValueTag()">startValueTag</A></CODE></TD>
  214. </TR>
  215. </TABLE>
  216. &nbsp;<A NAME="methods_inherited_from_class_org.apache.xmlrpc.parser.TypeParserImpl"><!-- --></A>
  217. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  218. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  219. <TH ALIGN="left"><B>Methods inherited from class org.apache.xmlrpc.parser.<A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html" title="class in org.apache.xmlrpc.parser">TypeParserImpl</A></B></TH>
  220. </TR>
  221. <TR BGCOLOR="white" CLASS="TableRowColor">
  222. <TD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#endDocument()">endDocument</A>, <A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#getDocumentLocator()">getDocumentLocator</A>, <A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#getResult()">getResult</A>, <A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#isEmpty(char[], int, int)">isEmpty</A>, <A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>, <A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#setResult(java.lang.Object)">setResult</A></CODE></TD>
  223. </TR>
  224. </TABLE>
  225. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  226. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  227. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  228. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  229. </TR>
  230. <TR BGCOLOR="white" CLASS="TableRowColor">
  231. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  232. </TR>
  233. </TABLE>
  234. &nbsp;
  235. <P>
  236. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  237. <A NAME="constructor_detail"><!-- --></A>
  238. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  239. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  240. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  241. <B>Constructor Detail</B></FONT></TH>
  242. </TR>
  243. </TABLE>
  244. <A NAME="XmlRpcResponseParser(org.apache.xmlrpc.common.XmlRpcStreamRequestConfig, org.apache.xmlrpc.common.TypeFactory)"><!-- --></A><H3>
  245. XmlRpcResponseParser</H3>
  246. <PRE>
  247. public <B>XmlRpcResponseParser</B>(<A HREF="../../../../org/apache/xmlrpc/common/XmlRpcStreamRequestConfig.html" title="interface in org.apache.xmlrpc.common">XmlRpcStreamRequestConfig</A>&nbsp;pConfig,
  248. <A HREF="../../../../org/apache/xmlrpc/common/TypeFactory.html" title="interface in org.apache.xmlrpc.common">TypeFactory</A>&nbsp;pTypeFactory)</PRE>
  249. <DL>
  250. <DD>Creates a new instance.
  251. <P>
  252. <DL>
  253. <DT><B>Parameters:</B><DD><CODE>pConfig</CODE> - The response configuration.<DD><CODE>pTypeFactory</CODE> - The type factory for creating instances of
  254. <A HREF="../../../../org/apache/xmlrpc/parser/TypeParser.html" title="interface in org.apache.xmlrpc.parser"><CODE>TypeParser</CODE></A>.</DL>
  255. </DL>
  256. <!-- ============ METHOD DETAIL ========== -->
  257. <A NAME="method_detail"><!-- --></A>
  258. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  259. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  260. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  261. <B>Method Detail</B></FONT></TH>
  262. </TR>
  263. </TABLE>
  264. <A NAME="addResult(java.lang.Object)"><!-- --></A><H3>
  265. addResult</H3>
  266. <PRE>
  267. protected void <B>addResult</B>(java.lang.Object&nbsp;pResult)
  268. throws org.xml.sax.SAXException</PRE>
  269. <DL>
  270. <DD><DL>
  271. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#addResult(java.lang.Object)">addResult</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></CODE></DL>
  272. </DD>
  273. <DD><DL>
  274. <DT><B>Throws:</B>
  275. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  276. </DD>
  277. </DL>
  278. <HR>
  279. <A NAME="startDocument()"><!-- --></A><H3>
  280. startDocument</H3>
  281. <PRE>
  282. public void <B>startDocument</B>()
  283. throws org.xml.sax.SAXException</PRE>
  284. <DL>
  285. <DD><DL>
  286. <DT><B>Specified by:</B><DD><CODE>startDocument</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#startDocument()">startDocument</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></CODE></DL>
  287. </DD>
  288. <DD><DL>
  289. <DT><B>Throws:</B>
  290. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  291. </DD>
  292. </DL>
  293. <HR>
  294. <A NAME="startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)"><!-- --></A><H3>
  295. startElement</H3>
  296. <PRE>
  297. public void <B>startElement</B>(java.lang.String&nbsp;pURI,
  298. java.lang.String&nbsp;pLocalName,
  299. java.lang.String&nbsp;pQName,
  300. org.xml.sax.Attributes&nbsp;pAttrs)
  301. throws org.xml.sax.SAXException</PRE>
  302. <DL>
  303. <DD><DL>
  304. <DT><B>Specified by:</B><DD><CODE>startElement</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></CODE></DL>
  305. </DD>
  306. <DD><DL>
  307. <DT><B>Throws:</B>
  308. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  309. </DD>
  310. </DL>
  311. <HR>
  312. <A NAME="endElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
  313. endElement</H3>
  314. <PRE>
  315. public void <B>endElement</B>(java.lang.String&nbsp;pURI,
  316. java.lang.String&nbsp;pLocalName,
  317. java.lang.String&nbsp;pQName)
  318. throws org.xml.sax.SAXException</PRE>
  319. <DL>
  320. <DD><DL>
  321. <DT><B>Specified by:</B><DD><CODE>endElement</CODE> in interface <CODE>org.xml.sax.ContentHandler</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A></CODE> in class <CODE><A HREF="../../../../org/apache/xmlrpc/parser/RecursiveTypeParserImpl.html" title="class in org.apache.xmlrpc.parser">RecursiveTypeParserImpl</A></CODE></DL>
  322. </DD>
  323. <DD><DL>
  324. <DT><B>Throws:</B>
  325. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  326. </DD>
  327. </DL>
  328. <HR>
  329. <A NAME="isSuccess()"><!-- --></A><H3>
  330. isSuccess</H3>
  331. <PRE>
  332. public boolean <B>isSuccess</B>()</PRE>
  333. <DL>
  334. <DD>Returns whether the response returned success. If so, the
  335. result object may be fetched using <A HREF="../../../../org/apache/xmlrpc/parser/TypeParserImpl.html#getResult()"><CODE>TypeParserImpl.getResult()</CODE></A>.
  336. Otherwise, you may use the methods
  337. <A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#getErrorCode()"><CODE>getErrorCode()</CODE></A> and <A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcResponseParser.html#getErrorMessage()"><CODE>getErrorMessage()</CODE></A> to
  338. check for error reasons.
  339. <P>
  340. <DD><DL>
  341. <DT><B>Returns:</B><DD>True, if the response indicated success, false otherwise.</DL>
  342. </DD>
  343. </DL>
  344. <HR>
  345. <A NAME="getErrorCode()"><!-- --></A><H3>
  346. getErrorCode</H3>
  347. <PRE>
  348. public int <B>getErrorCode</B>()</PRE>
  349. <DL>
  350. <DD>If the response contained a fault, returns the error code.
  351. <P>
  352. <DD><DL>
  353. <DT><B>Returns:</B><DD>The numeric error code.</DL>
  354. </DD>
  355. </DL>
  356. <HR>
  357. <A NAME="getErrorMessage()"><!-- --></A><H3>
  358. getErrorMessage</H3>
  359. <PRE>
  360. public java.lang.String <B>getErrorMessage</B>()</PRE>
  361. <DL>
  362. <DD>If the response contained a fault, returns the error message.
  363. <P>
  364. <DD><DL>
  365. <DT><B>Returns:</B><DD>The error message.</DL>
  366. </DD>
  367. </DL>
  368. <HR>
  369. <A NAME="getErrorCause()"><!-- --></A><H3>
  370. getErrorCause</H3>
  371. <PRE>
  372. public java.lang.Throwable <B>getErrorCause</B>()</PRE>
  373. <DL>
  374. <DD>If the response contained a fault, returns the (optional)
  375. exception.
  376. <P>
  377. <DD><DL>
  378. </DL>
  379. </DD>
  380. </DL>
  381. <!-- ========= END OF CLASS DATA ========= -->
  382. <HR>
  383. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  384. <A NAME="navbar_bottom"><!-- --></A>
  385. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  386. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  387. <TR>
  388. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  389. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  390. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  391. <TR ALIGN="center" VALIGN="top">
  392. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  393. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  394. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  395. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XmlRpcResponseParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  396. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  397. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  398. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  399. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  400. </TR>
  401. </TABLE>
  402. </TD>
  403. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  404. </EM>
  405. </TD>
  406. </TR>
  407. <TR>
  408. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  409. &nbsp;<A HREF="../../../../org/apache/xmlrpc/parser/XmlRpcRequestParser.html" title="class in org.apache.xmlrpc.parser"><B>PREV CLASS</B></A>&nbsp;
  410. &nbsp;NEXT CLASS</FONT></TD>
  411. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  412. <A HREF="../../../../index.html?org/apache/xmlrpc/parser/XmlRpcResponseParser.html" target="_top"><B>FRAMES</B></A> &nbsp;
  413. &nbsp;<A HREF="XmlRpcResponseParser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  414. &nbsp;<SCRIPT type="text/javascript">
  415. <!--
  416. if(window==top) {
  417. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  418. }
  419. //-->
  420. </SCRIPT>
  421. <NOSCRIPT>
  422. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  423. </NOSCRIPT>
  424. </FONT></TD>
  425. </TR>
  426. <TR>
  427. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  428. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.xmlrpc.parser.RecursiveTypeParserImpl">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  429. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  430. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  431. </TR>
  432. </TABLE>
  433. <A NAME="skip-navbar_bottom"></A>
  434. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  435. <HR>
  436. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  437. </BODY>
  438. </HTML>