/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/javadoc/com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html

http://prototipomemoria.googlecode.com/ · HTML · 444 lines · 375 code · 47 blank · 22 comment · 0 complexity · 5bdb9addc1164761949ae4fcc02dc8bf 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_26) on Thu Aug 11 04:40:24 CEST 2011 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. JettisonMappedXmlDriver (XStream Core 1.4.1 API)
  9. </TITLE>
  10. <META NAME="date" CONTENT="2011-08-11">
  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="JettisonMappedXmlDriver (XStream Core 1.4.1 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/JettisonMappedXmlDriver.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="../../../../../com/thoughtworks/xstream/io/json/AbstractJsonWriter.Type.html" title="class in com.thoughtworks.xstream.io.json"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonStaxWriter.html" title="class in com.thoughtworks.xstream.io.json"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="JettisonMappedXmlDriver.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. com.thoughtworks.xstream.io.json</FONT>
  82. <BR>
  83. Class JettisonMappedXmlDriver</H2>
  84. <PRE>
  85. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  86. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/thoughtworks/xstream/io/AbstractDriver.html" title="class in com.thoughtworks.xstream.io">com.thoughtworks.xstream.io.AbstractDriver</A>
  87. <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver</B>
  88. </PRE>
  89. <DL>
  90. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A></DD>
  91. </DL>
  92. <HR>
  93. <DL>
  94. <DT><PRE>public class <B>JettisonMappedXmlDriver</B><DT>extends <A HREF="../../../../../com/thoughtworks/xstream/io/AbstractDriver.html" title="class in com.thoughtworks.xstream.io">AbstractDriver</A></DL>
  95. </PRE>
  96. <P>
  97. Simple XStream driver wrapping Jettison's Mapped reader and writer. Serializes object from
  98. and to JSON.
  99. <P>
  100. <P>
  101. <DL>
  102. <DT><B>Author:</B></DT>
  103. <DD>Dejan Bosanac</DD>
  104. </DL>
  105. <HR>
  106. <P>
  107. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  108. <A NAME="constructor_summary"><!-- --></A>
  109. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  110. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  111. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  112. <B>Constructor Summary</B></FONT></TH>
  113. </TR>
  114. <TR BGCOLOR="white" CLASS="TableRowColor">
  115. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#JettisonMappedXmlDriver()">JettisonMappedXmlDriver</A></B>()</CODE>
  116. <BR>
  117. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a JettisonMappedXmlDriver.</TD>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration)">JettisonMappedXmlDriver</A></B>(org.codehaus.jettison.mapped.Configuration&nbsp;config)</CODE>
  121. <BR>
  122. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a JettisonMappedXmlDriver with configuration.</TD>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration, boolean)">JettisonMappedXmlDriver</A></B>(org.codehaus.jettison.mapped.Configuration&nbsp;config,
  126. boolean&nbsp;useSerializeAsArray)</CODE>
  127. <BR>
  128. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a JettisonMappedXmlDriver with configuration.</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>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
  142. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#createReader(java.io.File)">createReader</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>&nbsp;in)</CODE>
  143. <BR>
  144. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from a File.</TD>
  145. </TR>
  146. <TR BGCOLOR="white" CLASS="TableRowColor">
  147. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  148. <CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
  149. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#createReader(java.io.InputStream)">createReader</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;input)</CODE>
  150. <BR>
  151. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from the input stream.</TD>
  152. </TR>
  153. <TR BGCOLOR="white" CLASS="TableRowColor">
  154. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  155. <CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
  156. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#createReader(java.io.Reader)">createReader</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;reader)</CODE>
  157. <BR>
  158. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from the IO reader.</TD>
  159. </TR>
  160. <TR BGCOLOR="white" CLASS="TableRowColor">
  161. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  162. <CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
  163. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#createReader(java.net.URL)">createReader</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;in)</CODE>
  164. <BR>
  165. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from a URL.</TD>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  169. <CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A></CODE></FONT></TD>
  170. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#createWriter(java.io.OutputStream)">createWriter</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;output)</CODE>
  171. <BR>
  172. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamWriter with the formatted writer.</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A></CODE></FONT></TD>
  177. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#createWriter(java.io.Writer)">createWriter</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;writer)</CODE>
  178. <BR>
  179. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamWriter with the formatted writer.</TD>
  180. </TR>
  181. </TABLE>
  182. &nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.AbstractDriver"><!-- --></A>
  183. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  184. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  185. <TH ALIGN="left"><B>Methods inherited from class com.thoughtworks.xstream.io.<A HREF="../../../../../com/thoughtworks/xstream/io/AbstractDriver.html" title="class in com.thoughtworks.xstream.io">AbstractDriver</A></B></TH>
  186. </TR>
  187. <TR BGCOLOR="white" CLASS="TableRowColor">
  188. <TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/AbstractDriver.html#getNameCoder()">getNameCoder</A></CODE></TD>
  189. </TR>
  190. </TABLE>
  191. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  192. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  193. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  194. <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
  195. </TR>
  196. <TR BGCOLOR="white" CLASS="TableRowColor">
  197. <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  198. </TR>
  199. </TABLE>
  200. &nbsp;
  201. <P>
  202. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  203. <A NAME="constructor_detail"><!-- --></A>
  204. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  205. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  206. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  207. <B>Constructor Detail</B></FONT></TH>
  208. </TR>
  209. </TABLE>
  210. <A NAME="JettisonMappedXmlDriver()"><!-- --></A><H3>
  211. JettisonMappedXmlDriver</H3>
  212. <PRE>
  213. public <B>JettisonMappedXmlDriver</B>()</PRE>
  214. <DL>
  215. <DD>Construct a JettisonMappedXmlDriver.
  216. <P>
  217. </DL>
  218. <HR>
  219. <A NAME="JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration)"><!-- --></A><H3>
  220. JettisonMappedXmlDriver</H3>
  221. <PRE>
  222. public <B>JettisonMappedXmlDriver</B>(org.codehaus.jettison.mapped.Configuration&nbsp;config)</PRE>
  223. <DL>
  224. <DD>Construct a JettisonMappedXmlDriver with configuration.
  225. <P>
  226. <DL>
  227. <DT><B>Parameters:</B><DD><CODE>config</CODE> - the Jettison configuration</DL>
  228. </DL>
  229. <HR>
  230. <A NAME="JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration, boolean)"><!-- --></A><H3>
  231. JettisonMappedXmlDriver</H3>
  232. <PRE>
  233. public <B>JettisonMappedXmlDriver</B>(org.codehaus.jettison.mapped.Configuration&nbsp;config,
  234. boolean&nbsp;useSerializeAsArray)</PRE>
  235. <DL>
  236. <DD>Construct a JettisonMappedXmlDriver with configuration. This constructor has been added
  237. by special request of Jettison users to support JSON generated by older Jettison
  238. versions. if the driver is setup to ignore the XStream hints for JSON arrays, there is
  239. neither support from XStream's side nor are there any tests to ensure this mode.
  240. <P>
  241. <DL>
  242. <DT><B>Parameters:</B><DD><CODE>config</CODE> - the Jettison configuration<DD><CODE>useSerializeAsArray</CODE> - flag to use XStream's hints for collections and arrays<DT><B>Since:</B></DT>
  243. <DD>1.4</DD>
  244. </DL>
  245. </DL>
  246. <!-- ============ METHOD DETAIL ========== -->
  247. <A NAME="method_detail"><!-- --></A>
  248. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  249. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  250. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  251. <B>Method Detail</B></FONT></TH>
  252. </TR>
  253. </TABLE>
  254. <A NAME="createReader(java.io.Reader)"><!-- --></A><H3>
  255. createReader</H3>
  256. <PRE>
  257. public <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A> <B>createReader</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;reader)</PRE>
  258. <DL>
  259. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.Reader)">HierarchicalStreamDriver</A></CODE></B></DD>
  260. <DD>Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
  261. <P>
  262. <DD><DL>
  263. <DT><B>Parameters:</B><DD><CODE>reader</CODE> - the <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><CODE>Reader</CODE></A> with the data to parse
  264. <DT><B>Returns:</B><DD>the HierarchicalStreamReader</DL>
  265. </DD>
  266. </DL>
  267. <HR>
  268. <A NAME="createReader(java.io.InputStream)"><!-- --></A><H3>
  269. createReader</H3>
  270. <PRE>
  271. public <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A> <B>createReader</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;input)</PRE>
  272. <DL>
  273. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.InputStream)">HierarchicalStreamDriver</A></CODE></B></DD>
  274. <DD>Create the HierarchicalStreamReader with the stream parser reading from the input stream.
  275. <P>
  276. <DD><DL>
  277. <DT><B>Parameters:</B><DD><CODE>input</CODE> - the <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><CODE>InputStream</CODE></A> with the data to parse</DL>
  278. </DD>
  279. </DL>
  280. <HR>
  281. <A NAME="createReader(java.net.URL)"><!-- --></A><H3>
  282. createReader</H3>
  283. <PRE>
  284. public <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A> <B>createReader</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;in)</PRE>
  285. <DL>
  286. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.net.URL)">HierarchicalStreamDriver</A></CODE></B></DD>
  287. <DD>Create the HierarchicalStreamReader with the stream parser reading from a URL.
  288. Depending on the parser implementation, some might take the URL as SystemId to resolve
  289. additional references.
  290. <P>
  291. <DD><DL>
  292. <DT><B>Parameters:</B><DD><CODE>in</CODE> - the <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><CODE>URL</CODE></A> defining the location with the data to parse
  293. <DT><B>Returns:</B><DD>the HierarchicalStreamReader</DL>
  294. </DD>
  295. </DL>
  296. <HR>
  297. <A NAME="createReader(java.io.File)"><!-- --></A><H3>
  298. createReader</H3>
  299. <PRE>
  300. public <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A> <B>createReader</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>&nbsp;in)</PRE>
  301. <DL>
  302. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.File)">HierarchicalStreamDriver</A></CODE></B></DD>
  303. <DD>Create the HierarchicalStreamReader with the stream parser reading from a File.
  304. Depending on the parser implementation, some might take the file path as SystemId to
  305. resolve additional references.
  306. <P>
  307. <DD><DL>
  308. <DT><B>Parameters:</B><DD><CODE>in</CODE> - the <A HREF="http://download.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><CODE>URL</CODE></A> defining the location with the data to parse
  309. <DT><B>Returns:</B><DD>the HierarchicalStreamReader</DL>
  310. </DD>
  311. </DL>
  312. <HR>
  313. <A NAME="createWriter(java.io.Writer)"><!-- --></A><H3>
  314. createWriter</H3>
  315. <PRE>
  316. public <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A> <B>createWriter</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;writer)</PRE>
  317. <DL>
  318. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createWriter(java.io.Writer)">HierarchicalStreamDriver</A></CODE></B></DD>
  319. <DD>Create the HierarchicalStreamWriter with the formatted writer.
  320. <P>
  321. <DD><DL>
  322. <DT><B>Parameters:</B><DD><CODE>writer</CODE> - the <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><CODE>Writer</CODE></A> to receive the formatted data
  323. <DT><B>Returns:</B><DD>the HierarchicalStreamWriter</DL>
  324. </DD>
  325. </DL>
  326. <HR>
  327. <A NAME="createWriter(java.io.OutputStream)"><!-- --></A><H3>
  328. createWriter</H3>
  329. <PRE>
  330. public <A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A> <B>createWriter</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;output)</PRE>
  331. <DL>
  332. <DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createWriter(java.io.OutputStream)">HierarchicalStreamDriver</A></CODE></B></DD>
  333. <DD>Create the HierarchicalStreamWriter with the formatted writer.
  334. <P>
  335. <DD><DL>
  336. <DT><B>Parameters:</B><DD><CODE>output</CODE> - the <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><CODE>OutputStream</CODE></A> to receive the formatted data
  337. <DT><B>Returns:</B><DD>the HierarchicalStreamWriter</DL>
  338. </DD>
  339. </DL>
  340. <!-- ========= END OF CLASS DATA ========= -->
  341. <HR>
  342. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  343. <A NAME="navbar_bottom"><!-- --></A>
  344. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  345. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  346. <TR>
  347. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  348. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  349. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  350. <TR ALIGN="center" VALIGN="top">
  351. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  352. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  353. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  354. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JettisonMappedXmlDriver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  355. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  356. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  357. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  358. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  359. </TR>
  360. </TABLE>
  361. </TD>
  362. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  363. </EM>
  364. </TD>
  365. </TR>
  366. <TR>
  367. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  368. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/json/AbstractJsonWriter.Type.html" title="class in com.thoughtworks.xstream.io.json"><B>PREV CLASS</B></A>&nbsp;
  369. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonStaxWriter.html" title="class in com.thoughtworks.xstream.io.json"><B>NEXT CLASS</B></A></FONT></TD>
  370. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  371. <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html" target="_top"><B>FRAMES</B></A> &nbsp;
  372. &nbsp;<A HREF="JettisonMappedXmlDriver.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  373. &nbsp;<SCRIPT type="text/javascript">
  374. <!--
  375. if(window==top) {
  376. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  377. }
  378. //-->
  379. </SCRIPT>
  380. <NOSCRIPT>
  381. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  382. </NOSCRIPT>
  383. </FONT></TD>
  384. </TR>
  385. <TR>
  386. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  387. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  388. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  389. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  390. </TR>
  391. </TABLE>
  392. <A NAME="skip-navbar_bottom"></A>
  393. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  394. <HR>
  395. Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
  396. </BODY>
  397. </HTML>