/lib/docs/org/apache/xmlrpc/jaxb/JaxbSerializer.html

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