PageRenderTime 37ms CodeModel.GetById 6ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/docs/org/apache/xmlrpc/common/TypeConverter.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
HTML | 268 lines | 218 code | 30 blank | 20 comment | 0 complexity | 1adbcbaf16af6fd7c8c23c29d81676fd 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:56 CEST 2009 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. TypeConverter (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="TypeConverter (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/TypeConverter.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/common/ServerStreamConnection.html" title="interface in org.apache.xmlrpc.common"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/common/TypeConverterFactory.html" title="interface in org.apache.xmlrpc.common"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/common/TypeConverter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="TypeConverter.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;FIELD&nbsp;|&nbsp;CONSTR&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;CONSTR&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.common</FONT>
  82. <BR>
  83. Interface TypeConverter</H2>
  84. <HR>
  85. <DL>
  86. <DT><PRE>public interface <B>TypeConverter</B></DL>
  87. </PRE>
  88. <P>
  89. A <A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html" title="interface in org.apache.xmlrpc.common"><CODE>TypeConverter</CODE></A> is used when actually calling the
  90. handler method or actually returning the result object. It's
  91. purpose is to convert a single parameter or the return value
  92. from a generic representation (for example an array of objects)
  93. to an alternative representation, which is actually used in
  94. the methods signature (for example <CODE>List</CODE>, or
  95. <CODE>Vector</CODE>.
  96. <P>
  97. <P>
  98. <HR>
  99. <P>
  100. <!-- ========== METHOD SUMMARY =========== -->
  101. <A NAME="method_summary"><!-- --></A>
  102. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  103. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  104. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  105. <B>Method Summary</B></FONT></TH>
  106. </TR>
  107. <TR BGCOLOR="white" CLASS="TableRowColor">
  108. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  109. <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
  110. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html#backConvert(java.lang.Object)">backConvert</A></B>(java.lang.Object&nbsp;result)</CODE>
  111. <BR>
  112. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given object into its generic
  113. representation.</TD>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  117. <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
  118. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html#convert(java.lang.Object)">convert</A></B>(java.lang.Object&nbsp;pObject)</CODE>
  119. <BR>
  120. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the given object into the required
  121. representation.</TD>
  122. </TR>
  123. <TR BGCOLOR="white" CLASS="TableRowColor">
  124. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  125. <CODE>&nbsp;boolean</CODE></FONT></TD>
  126. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html#isConvertable(java.lang.Object)">isConvertable</A></B>(java.lang.Object&nbsp;pObject)</CODE>
  127. <BR>
  128. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns, whether the <A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html" title="interface in org.apache.xmlrpc.common"><CODE>TypeConverter</CODE></A> is
  129. ready to handle the given object.</TD>
  130. </TR>
  131. </TABLE>
  132. &nbsp;
  133. <P>
  134. <!-- ============ METHOD DETAIL ========== -->
  135. <A NAME="method_detail"><!-- --></A>
  136. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  137. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  138. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  139. <B>Method Detail</B></FONT></TH>
  140. </TR>
  141. </TABLE>
  142. <A NAME="isConvertable(java.lang.Object)"><!-- --></A><H3>
  143. isConvertable</H3>
  144. <PRE>
  145. boolean <B>isConvertable</B>(java.lang.Object&nbsp;pObject)</PRE>
  146. <DL>
  147. <DD>Returns, whether the <A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html" title="interface in org.apache.xmlrpc.common"><CODE>TypeConverter</CODE></A> is
  148. ready to handle the given object. If so,
  149. <A HREF="../../../../org/apache/xmlrpc/common/TypeConverter.html#convert(java.lang.Object)"><CODE>convert(Object)</CODE></A> may be called.
  150. <P>
  151. <DD><DL>
  152. </DL>
  153. </DD>
  154. </DL>
  155. <HR>
  156. <A NAME="convert(java.lang.Object)"><!-- --></A><H3>
  157. convert</H3>
  158. <PRE>
  159. java.lang.Object <B>convert</B>(java.lang.Object&nbsp;pObject)</PRE>
  160. <DL>
  161. <DD>Converts the given object into the required
  162. representation.
  163. <P>
  164. <DD><DL>
  165. </DL>
  166. </DD>
  167. </DL>
  168. <HR>
  169. <A NAME="backConvert(java.lang.Object)"><!-- --></A><H3>
  170. backConvert</H3>
  171. <PRE>
  172. java.lang.Object <B>backConvert</B>(java.lang.Object&nbsp;result)</PRE>
  173. <DL>
  174. <DD>Converts the given object into its generic
  175. representation.
  176. <P>
  177. <DD><DL>
  178. </DL>
  179. </DD>
  180. </DL>
  181. <!-- ========= END OF CLASS DATA ========= -->
  182. <HR>
  183. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  184. <A NAME="navbar_bottom"><!-- --></A>
  185. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  186. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  187. <TR>
  188. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  189. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  190. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  191. <TR ALIGN="center" VALIGN="top">
  192. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  193. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  194. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  195. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TypeConverter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  196. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  197. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  198. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  199. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  200. </TR>
  201. </TABLE>
  202. </TD>
  203. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  204. </EM>
  205. </TD>
  206. </TR>
  207. <TR>
  208. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  209. &nbsp;<A HREF="../../../../org/apache/xmlrpc/common/ServerStreamConnection.html" title="interface in org.apache.xmlrpc.common"><B>PREV CLASS</B></A>&nbsp;
  210. &nbsp;<A HREF="../../../../org/apache/xmlrpc/common/TypeConverterFactory.html" title="interface in org.apache.xmlrpc.common"><B>NEXT CLASS</B></A></FONT></TD>
  211. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  212. <A HREF="../../../../index.html?org/apache/xmlrpc/common/TypeConverter.html" target="_top"><B>FRAMES</B></A> &nbsp;
  213. &nbsp;<A HREF="TypeConverter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  214. &nbsp;<SCRIPT type="text/javascript">
  215. <!--
  216. if(window==top) {
  217. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  218. }
  219. //-->
  220. </SCRIPT>
  221. <NOSCRIPT>
  222. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  223. </NOSCRIPT>
  224. </FONT></TD>
  225. </TR>
  226. <TR>
  227. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  228. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  229. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  230. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  231. </TR>
  232. </TABLE>
  233. <A NAME="skip-navbar_bottom"></A>
  234. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  235. <HR>
  236. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  237. </BODY>
  238. </HTML>