/lib/docs/org/apache/xmlrpc/serializer/ExtSerializer.html

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/ · HTML · 330 lines · 272 code · 36 blank · 22 comment · 0 complexity · b5b3fc45b8ea98fe004c6863728a315f MD5 · raw file

  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. ExtSerializer (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="ExtSerializer (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/ExtSerializer.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/serializer/DoubleSerializer.html" title="class in org.apache.xmlrpc.serializer"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../org/apache/xmlrpc/serializer/FloatSerializer.html" title="class in org.apache.xmlrpc.serializer"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?org/apache/xmlrpc/serializer/ExtSerializer.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="ExtSerializer.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;<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.serializer</FONT>
  82. <BR>
  83. Class ExtSerializer</H2>
  84. <PRE>
  85. java.lang.Object
  86. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.serializer.ExtSerializer</B>
  87. </PRE>
  88. <DL>
  89. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html" title="interface in org.apache.xmlrpc.serializer">TypeSerializer</A></DD>
  90. </DL>
  91. <DL>
  92. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/xmlrpc/jaxb/JaxbSerializer.html" title="class in org.apache.xmlrpc.jaxb">JaxbSerializer</A>, <A HREF="../../../../org/apache/xmlrpc/serializer/NodeSerializer.html" title="class in org.apache.xmlrpc.serializer">NodeSerializer</A></DD>
  93. </DL>
  94. <HR>
  95. <DL>
  96. <DT><PRE>public abstract class <B>ExtSerializer</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html" title="interface in org.apache.xmlrpc.serializer">TypeSerializer</A></DL>
  97. </PRE>
  98. <P>
  99. Base class for external XML representations, like DOM,
  100. or JAXB.
  101. <P>
  102. <P>
  103. <HR>
  104. <P>
  105. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  106. <A NAME="constructor_summary"><!-- --></A>
  107. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  108. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  109. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  110. <B>Constructor Summary</B></FONT></TH>
  111. </TR>
  112. <TR BGCOLOR="white" CLASS="TableRowColor">
  113. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/serializer/ExtSerializer.html#ExtSerializer()">ExtSerializer</A></B>()</CODE>
  114. <BR>
  115. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  116. </TR>
  117. </TABLE>
  118. &nbsp;
  119. <!-- ========== METHOD SUMMARY =========== -->
  120. <A NAME="method_summary"><!-- --></A>
  121. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  122. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  123. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  124. <B>Method Summary</B></FONT></TH>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>protected abstract &nbsp;java.lang.String</CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/serializer/ExtSerializer.html#getTagName()">getTagName</A></B>()</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the unqualied tag name.</TD>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>protected abstract &nbsp;void</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/serializer/ExtSerializer.html#serialize(org.xml.sax.ContentHandler, java.lang.Object)">serialize</A></B>(org.xml.sax.ContentHandler&nbsp;pHandler,
  137. java.lang.Object&nbsp;pObject)</CODE>
  138. <BR>
  139. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Performs the actual serialization.</TD>
  140. </TR>
  141. <TR BGCOLOR="white" CLASS="TableRowColor">
  142. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  143. <CODE>&nbsp;void</CODE></FONT></TD>
  144. <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/serializer/ExtSerializer.html#write(org.xml.sax.ContentHandler, java.lang.Object)">write</A></B>(org.xml.sax.ContentHandler&nbsp;pHandler,
  145. java.lang.Object&nbsp;pObject)</CODE>
  146. <BR>
  147. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the object <code>pObject</code> to the SAX handler
  148. <code>pHandler</code>.</TD>
  149. </TR>
  150. </TABLE>
  151. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  152. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  153. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  154. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  158. </TR>
  159. </TABLE>
  160. &nbsp;
  161. <P>
  162. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  163. <A NAME="constructor_detail"><!-- --></A>
  164. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  165. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  166. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  167. <B>Constructor Detail</B></FONT></TH>
  168. </TR>
  169. </TABLE>
  170. <A NAME="ExtSerializer()"><!-- --></A><H3>
  171. ExtSerializer</H3>
  172. <PRE>
  173. public <B>ExtSerializer</B>()</PRE>
  174. <DL>
  175. </DL>
  176. <!-- ============ METHOD DETAIL ========== -->
  177. <A NAME="method_detail"><!-- --></A>
  178. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  179. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  180. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  181. <B>Method Detail</B></FONT></TH>
  182. </TR>
  183. </TABLE>
  184. <A NAME="getTagName()"><!-- --></A><H3>
  185. getTagName</H3>
  186. <PRE>
  187. protected abstract java.lang.String <B>getTagName</B>()</PRE>
  188. <DL>
  189. <DD>Returns the unqualied tag name.
  190. <P>
  191. <DD><DL>
  192. </DL>
  193. </DD>
  194. <DD><DL>
  195. </DL>
  196. </DD>
  197. </DL>
  198. <HR>
  199. <A NAME="serialize(org.xml.sax.ContentHandler, java.lang.Object)"><!-- --></A><H3>
  200. serialize</H3>
  201. <PRE>
  202. protected abstract void <B>serialize</B>(org.xml.sax.ContentHandler&nbsp;pHandler,
  203. java.lang.Object&nbsp;pObject)
  204. throws org.xml.sax.SAXException</PRE>
  205. <DL>
  206. <DD>Performs the actual serialization.
  207. <P>
  208. <DD><DL>
  209. </DL>
  210. </DD>
  211. <DD><DL>
  212. <DT><B>Throws:</B>
  213. <DD><CODE>org.xml.sax.SAXException</CODE></DL>
  214. </DD>
  215. </DL>
  216. <HR>
  217. <A NAME="write(org.xml.sax.ContentHandler, java.lang.Object)"><!-- --></A><H3>
  218. write</H3>
  219. <PRE>
  220. public void <B>write</B>(org.xml.sax.ContentHandler&nbsp;pHandler,
  221. java.lang.Object&nbsp;pObject)
  222. throws org.xml.sax.SAXException</PRE>
  223. <DL>
  224. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html#write(org.xml.sax.ContentHandler, java.lang.Object)">TypeSerializer</A></CODE></B></DD>
  225. <DD>Writes the object <code>pObject</code> to the SAX handler
  226. <code>pHandler</code>.
  227. <P>
  228. <DD><DL>
  229. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html#write(org.xml.sax.ContentHandler, java.lang.Object)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/xmlrpc/serializer/TypeSerializer.html" title="interface in org.apache.xmlrpc.serializer">TypeSerializer</A></CODE></DL>
  230. </DD>
  231. <DD><DL>
  232. <DT><B>Parameters:</B><DD><CODE>pHandler</CODE> - The destination handler.<DD><CODE>pObject</CODE> - The object being written.
  233. <DT><B>Throws:</B>
  234. <DD><CODE>org.xml.sax.SAXException</CODE> - Writing the object failed.</DL>
  235. </DD>
  236. </DL>
  237. <!-- ========= END OF CLASS DATA ========= -->
  238. <HR>
  239. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  240. <A NAME="navbar_bottom"><!-- --></A>
  241. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  242. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  243. <TR>
  244. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  245. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  246. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  247. <TR ALIGN="center" VALIGN="top">
  248. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  249. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  250. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  251. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExtSerializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  252. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  253. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  254. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  255. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  256. </TR>
  257. </TABLE>
  258. </TD>
  259. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  260. </EM>
  261. </TD>
  262. </TR>
  263. <TR>
  264. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  265. &nbsp;<A HREF="../../../../org/apache/xmlrpc/serializer/DoubleSerializer.html" title="class in org.apache.xmlrpc.serializer"><B>PREV CLASS</B></A>&nbsp;
  266. &nbsp;<A HREF="../../../../org/apache/xmlrpc/serializer/FloatSerializer.html" title="class in org.apache.xmlrpc.serializer"><B>NEXT CLASS</B></A></FONT></TD>
  267. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  268. <A HREF="../../../../index.html?org/apache/xmlrpc/serializer/ExtSerializer.html" target="_top"><B>FRAMES</B></A> &nbsp;
  269. &nbsp;<A HREF="ExtSerializer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  270. &nbsp;<SCRIPT type="text/javascript">
  271. <!--
  272. if(window==top) {
  273. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  274. }
  275. //-->
  276. </SCRIPT>
  277. <NOSCRIPT>
  278. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  279. </NOSCRIPT>
  280. </FONT></TD>
  281. </TR>
  282. <TR>
  283. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  284. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  285. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  286. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  287. </TR>
  288. </TABLE>
  289. <A NAME="skip-navbar_bottom"></A>
  290. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  291. <HR>
  292. Copyright &#169; 2001-2009 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
  293. </BODY>
  294. </HTML>