PageRenderTime 33ms CodeModel.GetById 13ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 0ms

/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>
  8JettisonMappedXmlDriver (XStream Core 1.4.1 API)
  9</TITLE>
 10
 11<META NAME="date" CONTENT="2011-08-11">
 12
 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 14
 15<SCRIPT type="text/javascript">
 16function windowTitle()
 17{
 18    if (location.href.indexOf('is-external=true') == -1) {
 19        parent.document.title="JettisonMappedXmlDriver (XStream Core 1.4.1 API)";
 20    }
 21}
 22</SCRIPT>
 23<NOSCRIPT>
 24</NOSCRIPT>
 25
 26</HEAD>
 27
 28<BODY BGCOLOR="white" onload="windowTitle();">
 29<HR>
 30
 31
 32<!-- ========= START OF TOP NAVBAR ======= -->
 33<A NAME="navbar_top"><!-- --></A>
 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 36<TR>
 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 38<A NAME="navbar_top_firstrow"><!-- --></A>
 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 40  <TR ALIGN="center" VALIGN="top">
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JettisonMappedXmlDriver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 49  </TR>
 50</TABLE>
 51</TD>
 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 53</EM>
 54</TD>
 55</TR>
 56
 57<TR>
 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 59&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;
 60&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>
 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 62  <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 63&nbsp;<A HREF="JettisonMappedXmlDriver.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 64&nbsp;<SCRIPT type="text/javascript">
 65  <!--
 66  if(window==top) {
 67    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 68  }
 69  //-->
 70</SCRIPT>
 71<NOSCRIPT>
 72  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 73</NOSCRIPT>
 74
 75
 76</FONT></TD>
 77</TR>
 78<TR>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 83</TR>
 84</TABLE>
 85<A NAME="skip-navbar_top"></A>
 86<!-- ========= END OF TOP NAVBAR ========= -->
 87
 88<HR>
 89<!-- ======== START OF CLASS DATA ======== -->
 90<H2>
 91<FONT SIZE="-1">
 92com.thoughtworks.xstream.io.json</FONT>
 93<BR>
 94Class JettisonMappedXmlDriver</H2>
 95<PRE>
 96<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>
 97  <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>
 98      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver</B>
 99</PRE>
100<DL>
101<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>
102</DL>
103<HR>
104<DL>
105<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>
106</PRE>
107
108<P>
109Simple XStream driver wrapping Jettison's Mapped reader and writer. Serializes object from
110 and to JSON.
111<P>
112
113<P>
114<DL>
115<DT><B>Author:</B></DT>
116  <DD>Dejan Bosanac</DD>
117</DL>
118<HR>
119
120<P>
121
122<!-- ======== CONSTRUCTOR SUMMARY ======== -->
123
124<A NAME="constructor_summary"><!-- --></A>
125<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
127<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
128<B>Constructor Summary</B></FONT></TH>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html#JettisonMappedXmlDriver()">JettisonMappedXmlDriver</A></B>()</CODE>
132
133<BR>
134&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a JettisonMappedXmlDriver.</TD>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<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>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a JettisonMappedXmlDriver with configuration.</TD>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<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,
144                        boolean&nbsp;useSerializeAsArray)</CODE>
145
146<BR>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a JettisonMappedXmlDriver with configuration.</TD>
148</TR>
149</TABLE>
150&nbsp;
151<!-- ========== METHOD SUMMARY =========== -->
152
153<A NAME="method_summary"><!-- --></A>
154<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
156<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
157<B>Method Summary</B></FONT></TH>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
162<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>
163
164<BR>
165&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from a File.</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/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
170<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>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from the input stream.</TD>
174</TR>
175<TR BGCOLOR="white" CLASS="TableRowColor">
176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
178<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>
179
180<BR>
181&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from the IO reader.</TD>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A></CODE></FONT></TD>
186<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>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamReader with the stream parser reading from a URL.</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A></CODE></FONT></TD>
194<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>
195
196<BR>
197&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamWriter with the formatted writer.</TD>
198</TR>
199<TR BGCOLOR="white" CLASS="TableRowColor">
200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201<CODE>&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A></CODE></FONT></TD>
202<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>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create the HierarchicalStreamWriter with the formatted writer.</TD>
206</TR>
207</TABLE>
208&nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.AbstractDriver"><!-- --></A>
209<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
210<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
211<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>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD><CODE><A HREF="../../../../../com/thoughtworks/xstream/io/AbstractDriver.html#getNameCoder()">getNameCoder</A></CODE></TD>
215</TR>
216</TABLE>
217&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
218<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
219<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
220<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>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<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>
224</TR>
225</TABLE>
226&nbsp;
227<P>
228
229<!-- ========= CONSTRUCTOR DETAIL ======== -->
230
231<A NAME="constructor_detail"><!-- --></A>
232<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
233<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
234<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
235<B>Constructor Detail</B></FONT></TH>
236</TR>
237</TABLE>
238
239<A NAME="JettisonMappedXmlDriver()"><!-- --></A><H3>
240JettisonMappedXmlDriver</H3>
241<PRE>
242public <B>JettisonMappedXmlDriver</B>()</PRE>
243<DL>
244<DD>Construct a JettisonMappedXmlDriver.
245<P>
246</DL>
247<HR>
248
249<A NAME="JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration)"><!-- --></A><H3>
250JettisonMappedXmlDriver</H3>
251<PRE>
252public <B>JettisonMappedXmlDriver</B>(org.codehaus.jettison.mapped.Configuration&nbsp;config)</PRE>
253<DL>
254<DD>Construct a JettisonMappedXmlDriver with configuration.
255<P>
256<DL>
257<DT><B>Parameters:</B><DD><CODE>config</CODE> - the Jettison configuration</DL>
258</DL>
259<HR>
260
261<A NAME="JettisonMappedXmlDriver(org.codehaus.jettison.mapped.Configuration, boolean)"><!-- --></A><H3>
262JettisonMappedXmlDriver</H3>
263<PRE>
264public <B>JettisonMappedXmlDriver</B>(org.codehaus.jettison.mapped.Configuration&nbsp;config,
265                               boolean&nbsp;useSerializeAsArray)</PRE>
266<DL>
267<DD>Construct a JettisonMappedXmlDriver with configuration. This constructor has been added
268 by special request of Jettison users to support JSON generated by older Jettison
269 versions. if the driver is setup to ignore the XStream hints for JSON arrays, there is
270 neither support from XStream's side nor are there any tests to ensure this mode.
271<P>
272<DL>
273<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>
274  <DD>1.4</DD>
275</DL>
276</DL>
277
278<!-- ============ METHOD DETAIL ========== -->
279
280<A NAME="method_detail"><!-- --></A>
281<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
282<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
283<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
284<B>Method Detail</B></FONT></TH>
285</TR>
286</TABLE>
287
288<A NAME="createReader(java.io.Reader)"><!-- --></A><H3>
289createReader</H3>
290<PRE>
291public <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>
292<DL>
293<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.Reader)">HierarchicalStreamDriver</A></CODE></B></DD>
294<DD>Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
295<P>
296<DD><DL>
297<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
298<DT><B>Returns:</B><DD>the HierarchicalStreamReader</DL>
299</DD>
300</DL>
301<HR>
302
303<A NAME="createReader(java.io.InputStream)"><!-- --></A><H3>
304createReader</H3>
305<PRE>
306public <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>
307<DL>
308<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.InputStream)">HierarchicalStreamDriver</A></CODE></B></DD>
309<DD>Create the HierarchicalStreamReader with the stream parser reading from the input stream.
310<P>
311<DD><DL>
312<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>
313</DD>
314</DL>
315<HR>
316
317<A NAME="createReader(java.net.URL)"><!-- --></A><H3>
318createReader</H3>
319<PRE>
320public <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>
321<DL>
322<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.net.URL)">HierarchicalStreamDriver</A></CODE></B></DD>
323<DD>Create the HierarchicalStreamReader with the stream parser reading from a URL.
324 
325 Depending on the parser implementation, some might take the URL as SystemId to resolve
326 additional references.
327<P>
328<DD><DL>
329<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
330<DT><B>Returns:</B><DD>the HierarchicalStreamReader</DL>
331</DD>
332</DL>
333<HR>
334
335<A NAME="createReader(java.io.File)"><!-- --></A><H3>
336createReader</H3>
337<PRE>
338public <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>
339<DL>
340<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.File)">HierarchicalStreamDriver</A></CODE></B></DD>
341<DD>Create the HierarchicalStreamReader with the stream parser reading from a File.
342 
343 Depending on the parser implementation, some might take the file path as SystemId to
344 resolve additional references.
345<P>
346<DD><DL>
347<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
348<DT><B>Returns:</B><DD>the HierarchicalStreamReader</DL>
349</DD>
350</DL>
351<HR>
352
353<A NAME="createWriter(java.io.Writer)"><!-- --></A><H3>
354createWriter</H3>
355<PRE>
356public <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>
357<DL>
358<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createWriter(java.io.Writer)">HierarchicalStreamDriver</A></CODE></B></DD>
359<DD>Create the HierarchicalStreamWriter with the formatted writer.
360<P>
361<DD><DL>
362<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
363<DT><B>Returns:</B><DD>the HierarchicalStreamWriter</DL>
364</DD>
365</DL>
366<HR>
367
368<A NAME="createWriter(java.io.OutputStream)"><!-- --></A><H3>
369createWriter</H3>
370<PRE>
371public <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>
372<DL>
373<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createWriter(java.io.OutputStream)">HierarchicalStreamDriver</A></CODE></B></DD>
374<DD>Create the HierarchicalStreamWriter with the formatted writer.
375<P>
376<DD><DL>
377<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
378<DT><B>Returns:</B><DD>the HierarchicalStreamWriter</DL>
379</DD>
380</DL>
381<!-- ========= END OF CLASS DATA ========= -->
382<HR>
383
384
385<!-- ======= START OF BOTTOM NAVBAR ====== -->
386<A NAME="navbar_bottom"><!-- --></A>
387<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
388<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
389<TR>
390<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
391<A NAME="navbar_bottom_firstrow"><!-- --></A>
392<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
393  <TR ALIGN="center" VALIGN="top">
394  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
395  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
396  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
397  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JettisonMappedXmlDriver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
398  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
399  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
400  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
401  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
402  </TR>
403</TABLE>
404</TD>
405<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
406</EM>
407</TD>
408</TR>
409
410<TR>
411<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
412&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;
413&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>
414<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
415  <A HREF="../../../../../index.html?com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html" target="_top"><B>FRAMES</B></A>  &nbsp;
416&nbsp;<A HREF="JettisonMappedXmlDriver.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
417&nbsp;<SCRIPT type="text/javascript">
418  <!--
419  if(window==top) {
420    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
421  }
422  //-->
423</SCRIPT>
424<NOSCRIPT>
425  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
426</NOSCRIPT>
427
428
429</FONT></TD>
430</TR>
431<TR>
432<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
433  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
434<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
435DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
436</TR>
437</TABLE>
438<A NAME="skip-navbar_bottom"></A>
439<!-- ======== END OF BOTTOM NAVBAR ======= -->
440
441<HR>
442Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
443</BODY>
444</HTML>