PageRenderTime 64ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/javadoc/com/thoughtworks/xstream/XStream.html

http://prototipomemoria.googlecode.com/
HTML | 911 lines | 803 code | 95 blank | 13 comment | 0 complexity | 73c58232fd9039e9e3516168b4be3ac9 MD5 | raw file
Possible License(s): 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_26) on Thu Aug 11 04:40:25 CEST 2011 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. XStream (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="XStream (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/XStream.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/MarshallingStrategy.html" title="interface in com.thoughtworks.xstream"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../com/thoughtworks/xstream/XStream.InitializationException.html" title="class in com.thoughtworks.xstream"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../index.html?com/thoughtworks/xstream/XStream.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="XStream.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;<A HREF="#nested_class_summary">NESTED</A>&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. com.thoughtworks.xstream</FONT>
  82. <BR>
  83. Class XStream</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 "><B>com.thoughtworks.xstream.XStream</B>
  87. </PRE>
  88. <HR>
  89. <DL>
  90. <DT><PRE>public class <B>XStream</B><DT>extends <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></DL>
  91. </PRE>
  92. <P>
  93. Simple facade to XStream library, a Java-XML serialization tool. <p/>
  94. <p>
  95. <hr>
  96. <b>Example</b><blockquote>
  97. <pre>
  98. XStream xstream = new XStream();
  99. String xml = xstream.toXML(myObject); // serialize to XML
  100. Object myObject2 = xstream.fromXML(xml); // deserialize from XML
  101. </pre>
  102. </blockquote>
  103. <hr>
  104. <p/>
  105. <h3>Aliasing classes</h3>
  106. <p/>
  107. <p>
  108. To create shorter XML, you can specify aliases for classes using the <code>alias()</code>
  109. method. For example, you can shorten all occurrences of element
  110. <code>&lt;com.blah.MyThing&gt;</code> to <code>&lt;my-thing&gt;</code> by registering an
  111. alias for the class.
  112. <p>
  113. <hr>
  114. <blockquote>
  115. <pre>
  116. xstream.alias(&quot;my-thing&quot;, MyThing.class);
  117. </pre>
  118. </blockquote>
  119. <hr>
  120. <p/>
  121. <h3>Converters</h3>
  122. <p/>
  123. <p>
  124. XStream contains a map of <A HREF="../../../com/thoughtworks/xstream/converters/Converter.html" title="interface in com.thoughtworks.xstream.converters"><CODE>Converter</CODE></A> instances, each
  125. of which acts as a strategy for converting a particular type of class to XML and back again. Out
  126. of the box, XStream contains converters for most basic types (String, Date, int, boolean, etc)
  127. and collections (Map, List, Set, Properties, etc). For other objects reflection is used to
  128. serialize each field recursively.
  129. </p>
  130. <p/>
  131. <p>
  132. Extra converters can be registered using the <code>registerConverter()</code> method. Some
  133. non-standard converters are supplied in the <A HREF="../../../com/thoughtworks/xstream/converters/extended/package-summary.html"><CODE>com.thoughtworks.xstream.converters.extended</CODE></A>
  134. package and you can create your own by implementing the
  135. <A HREF="../../../com/thoughtworks/xstream/converters/Converter.html" title="interface in com.thoughtworks.xstream.converters"><CODE>Converter</CODE></A> interface.
  136. </p>
  137. <p/>
  138. <p>
  139. <hr>
  140. <b>Example</b><blockquote>
  141. <pre>
  142. xstream.registerConverter(new SqlTimestampConverter());
  143. xstream.registerConverter(new DynamicProxyConverter());
  144. </pre>
  145. </blockquote>
  146. <hr>
  147. <p>
  148. The converters can be registered with an explicit priority. By default they are registered with
  149. XStream.PRIORITY_NORMAL. Converters of same priority will be used in the reverse sequence
  150. they have been registered. The default converter, i.e. the converter which will be used if
  151. no other registered converter is suitable, can be registered with priority
  152. XStream.PRIORITY_VERY_LOW. XStream uses by default the
  153. <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionConverter.html" title="class in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionConverter</CODE></A> as the fallback
  154. converter.
  155. </p>
  156. <p/>
  157. <p>
  158. <hr>
  159. <b>Example</b><blockquote>
  160. <pre>
  161. xstream.registerConverter(new CustomDefaultConverter(), XStream.PRIORITY_VERY_LOW);
  162. </pre>
  163. </blockquote>
  164. <hr>
  165. <p/>
  166. <h3>Object graphs</h3>
  167. <p/>
  168. <p>
  169. XStream has support for object graphs; a deserialized object graph will keep references intact,
  170. including circular references.
  171. </p>
  172. <p/>
  173. <p>
  174. XStream can signify references in XML using either relative/absolute XPath or IDs. The mode can be changed using
  175. <code>setMode()</code>:
  176. </p>
  177. <p/>
  178. <table border='1'>
  179. <tr>
  180. <td><code>xstream.setMode(XStream.XPATH_RELATIVE_REFERENCES);</code></td>
  181. <td><i>(Default)</i> Uses XPath relative references to signify duplicate references. This produces XML
  182. with the least clutter.</td>
  183. </tr>
  184. <tr>
  185. <td><code>xstream.setMode(XStream.XPATH_ABSOLUTE_REFERENCES);</code></td>
  186. <td>Uses XPath absolute references to signify duplicate
  187. references. This produces XML with the least clutter.</td>
  188. </tr>
  189. <tr>
  190. <td><code>xstream.setMode(XStream.SINGLE_NODE_XPATH_RELATIVE_REFERENCES);</code></td>
  191. <td>Uses XPath relative references to signify duplicate references. The XPath expression ensures that
  192. a single node only is selected always.</td>
  193. </tr>
  194. <tr>
  195. <td><code>xstream.setMode(XStream.SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES);</code></td>
  196. <td>Uses XPath absolute references to signify duplicate references. The XPath expression ensures that
  197. a single node only is selected always.</td>
  198. </tr>
  199. <tr>
  200. <td><code>xstream.setMode(XStream.ID_REFERENCES);</code></td>
  201. <td>Uses ID references to signify duplicate references. In some scenarios, such as when using
  202. hand-written XML, this is easier to work with.</td>
  203. </tr>
  204. <tr>
  205. <td><code>xstream.setMode(XStream.NO_REFERENCES);</code></td>
  206. <td>This disables object graph support and treats the object structure like a tree. Duplicate
  207. references are treated as two separate objects and circular references cause an exception. This
  208. is slightly faster and uses less memory than the other two modes.</td>
  209. </tr>
  210. </table>
  211. <h3>Thread safety</h3>
  212. <p>
  213. The XStream instance is thread-safe. That is, once the XStream instance has been created and
  214. configured, it may be shared across multiple threads allowing objects to be
  215. serialized/deserialized concurrently. <em>Note, that this only applies if annotations are not
  216. auto-detected on -the-fly.</em>
  217. </p>
  218. <h3>Implicit collections</h3>
  219. <p/>
  220. <p>
  221. To avoid the need for special tags for collections, you can define implicit collections using one
  222. of the <code>addImplicitCollection</code> methods.
  223. </p>
  224. <P>
  225. <P>
  226. <DL>
  227. <DT><B>Author:</B></DT>
  228. <DD>Joe Walnes, J&ouml;rg Schaible, Mauro Talevi, Guilherme Silveira</DD>
  229. </DL>
  230. <HR>
  231. <P>
  232. <!-- ======== NESTED CLASS SUMMARY ======== -->
  233. <A NAME="nested_class_summary"><!-- --></A>
  234. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  235. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  236. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  237. <B>Nested Class Summary</B></FONT></TH>
  238. </TR>
  239. <TR BGCOLOR="white" CLASS="TableRowColor">
  240. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  241. <CODE>static&nbsp;class</CODE></FONT></TD>
  242. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.InitializationException.html" title="class in com.thoughtworks.xstream">XStream.InitializationException</A></B></CODE>
  243. <BR>
  244. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>As of 1.3, use <A HREF="../../../com/thoughtworks/xstream/InitializationException.html" title="class in com.thoughtworks.xstream"><CODE>InitializationException</CODE></A> instead</I></TD>
  245. </TR>
  246. </TABLE>
  247. &nbsp;<!-- =========== FIELD SUMMARY =========== -->
  248. <A NAME="field_summary"><!-- --></A>
  249. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  250. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  251. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  252. <B>Field Summary</B></FONT></TH>
  253. </TR>
  254. <TR BGCOLOR="white" CLASS="TableRowColor">
  255. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  256. <CODE>static&nbsp;int</CODE></FONT></TD>
  257. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#ID_REFERENCES">ID_REFERENCES</A></B></CODE>
  258. <BR>
  259. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  260. </TR>
  261. <TR BGCOLOR="white" CLASS="TableRowColor">
  262. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  263. <CODE>static&nbsp;int</CODE></FONT></TD>
  264. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#NO_REFERENCES">NO_REFERENCES</A></B></CODE>
  265. <BR>
  266. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  267. </TR>
  268. <TR BGCOLOR="white" CLASS="TableRowColor">
  269. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  270. <CODE>static&nbsp;int</CODE></FONT></TD>
  271. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#PRIORITY_LOW">PRIORITY_LOW</A></B></CODE>
  272. <BR>
  273. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  274. </TR>
  275. <TR BGCOLOR="white" CLASS="TableRowColor">
  276. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  277. <CODE>static&nbsp;int</CODE></FONT></TD>
  278. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#PRIORITY_NORMAL">PRIORITY_NORMAL</A></B></CODE>
  279. <BR>
  280. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  281. </TR>
  282. <TR BGCOLOR="white" CLASS="TableRowColor">
  283. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  284. <CODE>static&nbsp;int</CODE></FONT></TD>
  285. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#PRIORITY_VERY_HIGH">PRIORITY_VERY_HIGH</A></B></CODE>
  286. <BR>
  287. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  288. </TR>
  289. <TR BGCOLOR="white" CLASS="TableRowColor">
  290. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  291. <CODE>static&nbsp;int</CODE></FONT></TD>
  292. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#PRIORITY_VERY_LOW">PRIORITY_VERY_LOW</A></B></CODE>
  293. <BR>
  294. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  295. </TR>
  296. <TR BGCOLOR="white" CLASS="TableRowColor">
  297. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  298. <CODE>static&nbsp;int</CODE></FONT></TD>
  299. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES">SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES</A></B></CODE>
  300. <BR>
  301. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  302. </TR>
  303. <TR BGCOLOR="white" CLASS="TableRowColor">
  304. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  305. <CODE>static&nbsp;int</CODE></FONT></TD>
  306. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#SINGLE_NODE_XPATH_RELATIVE_REFERENCES">SINGLE_NODE_XPATH_RELATIVE_REFERENCES</A></B></CODE>
  307. <BR>
  308. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  309. </TR>
  310. <TR BGCOLOR="white" CLASS="TableRowColor">
  311. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  312. <CODE>static&nbsp;int</CODE></FONT></TD>
  313. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XPATH_ABSOLUTE_REFERENCES">XPATH_ABSOLUTE_REFERENCES</A></B></CODE>
  314. <BR>
  315. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  316. </TR>
  317. <TR BGCOLOR="white" CLASS="TableRowColor">
  318. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  319. <CODE>static&nbsp;int</CODE></FONT></TD>
  320. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XPATH_RELATIVE_REFERENCES">XPATH_RELATIVE_REFERENCES</A></B></CODE>
  321. <BR>
  322. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  323. </TR>
  324. </TABLE>
  325. &nbsp;
  326. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  327. <A NAME="constructor_summary"><!-- --></A>
  328. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  329. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  330. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  331. <B>Constructor Summary</B></FONT></TH>
  332. </TR>
  333. <TR BGCOLOR="white" CLASS="TableRowColor">
  334. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream()">XStream</A></B>()</CODE>
  335. <BR>
  336. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a default XStream.</TD>
  337. </TR>
  338. <TR BGCOLOR="white" CLASS="TableRowColor">
  339. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.io.HierarchicalStreamDriver)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A>&nbsp;hierarchicalStreamDriver)</CODE>
  340. <BR>
  341. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XStream with a special <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io"><CODE>HierarchicalStreamDriver</CODE></A>.</TD>
  342. </TR>
  343. <TR BGCOLOR="white" CLASS="TableRowColor">
  344. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A>&nbsp;reflectionProvider)</CODE>
  345. <BR>
  346. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XStream with a special <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionProvider</CODE></A>.</TD>
  347. </TR>
  348. <TR BGCOLOR="white" CLASS="TableRowColor">
  349. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider, com.thoughtworks.xstream.io.HierarchicalStreamDriver)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A>&nbsp;reflectionProvider,
  350. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A>&nbsp;hierarchicalStreamDriver)</CODE>
  351. <BR>
  352. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XStream with a special <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io"><CODE>HierarchicalStreamDriver</CODE></A> and
  353. <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionProvider</CODE></A>.</TD>
  354. </TR>
  355. <TR BGCOLOR="white" CLASS="TableRowColor">
  356. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider, com.thoughtworks.xstream.io.HierarchicalStreamDriver, java.lang.ClassLoader)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A>&nbsp;reflectionProvider,
  357. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A>&nbsp;driver,
  358. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A>&nbsp;classLoader)</CODE>
  359. <BR>
  360. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XStream with a special <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io"><CODE>HierarchicalStreamDriver</CODE></A> and
  361. <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionProvider</CODE></A> and additionally with a prepared <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><CODE>ClassLoader</CODE></A> to use.</TD>
  362. </TR>
  363. <TR BGCOLOR="white" CLASS="TableRowColor">
  364. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider, com.thoughtworks.xstream.io.HierarchicalStreamDriver, java.lang.ClassLoader, com.thoughtworks.xstream.mapper.Mapper)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A>&nbsp;reflectionProvider,
  365. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A>&nbsp;driver,
  366. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A>&nbsp;classLoader,
  367. <A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper">Mapper</A>&nbsp;mapper)</CODE>
  368. <BR>
  369. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XStream with a special <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io"><CODE>HierarchicalStreamDriver</CODE></A> and
  370. <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionProvider</CODE></A> and additionally with a prepared <A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper"><CODE>Mapper</CODE></A> and the
  371. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><CODE>ClassLoader</CODE></A> in use.</TD>
  372. </TR>
  373. <TR BGCOLOR="white" CLASS="TableRowColor">
  374. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider, com.thoughtworks.xstream.io.HierarchicalStreamDriver, java.lang.ClassLoader, com.thoughtworks.xstream.mapper.Mapper, com.thoughtworks.xstream.converters.ConverterLookup, com.thoughtworks.xstream.converters.ConverterRegistry)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A>&nbsp;reflectionProvider,
  375. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A>&nbsp;driver,
  376. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A>&nbsp;classLoader,
  377. <A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper">Mapper</A>&nbsp;mapper,
  378. <A HREF="../../../com/thoughtworks/xstream/converters/ConverterLookup.html" title="interface in com.thoughtworks.xstream.converters">ConverterLookup</A>&nbsp;converterLookup,
  379. <A HREF="../../../com/thoughtworks/xstream/converters/ConverterRegistry.html" title="interface in com.thoughtworks.xstream.converters">ConverterRegistry</A>&nbsp;converterRegistry)</CODE>
  380. <BR>
  381. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an XStream with a special <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io"><CODE>HierarchicalStreamDriver</CODE></A>,
  382. <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionProvider</CODE></A>, a prepared <A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper"><CODE>Mapper</CODE></A> and the <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><CODE>ClassLoader</CODE></A> in use
  383. and an own <A HREF="../../../com/thoughtworks/xstream/converters/ConverterRegistry.html" title="interface in com.thoughtworks.xstream.converters"><CODE>ConverterRegistry</CODE></A>.</TD>
  384. </TR>
  385. <TR BGCOLOR="white" CLASS="TableRowColor">
  386. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider, com.thoughtworks.xstream.mapper.Mapper, com.thoughtworks.xstream.io.HierarchicalStreamDriver)">XStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A>&nbsp;reflectionProvider,
  387. <A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper">Mapper</A>&nbsp;mapper,
  388. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A>&nbsp;driver)</CODE>
  389. <BR>
  390. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>As of 1.3, use
  391. <A HREF="../../../com/thoughtworks/xstream/XStream.html#XStream(com.thoughtworks.xstream.converters.reflection.ReflectionProvider, com.thoughtworks.xstream.io.HierarchicalStreamDriver, java.lang.ClassLoader, com.thoughtworks.xstream.mapper.Mapper)"><CODE>XStream(ReflectionProvider, HierarchicalStreamDriver, ClassLoader, Mapper)</CODE></A>
  392. instead</I></TD>
  393. </TR>
  394. </TABLE>
  395. &nbsp;
  396. <!-- ========== METHOD SUMMARY =========== -->
  397. <A NAME="method_summary"><!-- --></A>
  398. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  399. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  400. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  401. <B>Method Summary</B></FONT></TH>
  402. </TR>
  403. <TR BGCOLOR="white" CLASS="TableRowColor">
  404. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  405. <CODE>&nbsp;void</CODE></FONT></TD>
  406. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addDefaultImplementation(java.lang.Class, java.lang.Class)">addDefaultImplementation</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;defaultImplementation,
  407. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ofType)</CODE>
  408. <BR>
  409. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Associate a default implementation of a class with an object.</TD>
  410. </TR>
  411. <TR BGCOLOR="white" CLASS="TableRowColor">
  412. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  413. <CODE>&nbsp;void</CODE></FONT></TD>
  414. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImmutableType(java.lang.Class)">addImmutableType</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;type)</CODE>
  415. <BR>
  416. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add immutable types.</TD>
  417. </TR>
  418. <TR BGCOLOR="white" CLASS="TableRowColor">
  419. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  420. <CODE>&nbsp;void</CODE></FONT></TD>
  421. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitArray(java.lang.Class, java.lang.String)">addImplicitArray</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  422. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName)</CODE>
  423. <BR>
  424. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an implicit array.</TD>
  425. </TR>
  426. <TR BGCOLOR="white" CLASS="TableRowColor">
  427. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  428. <CODE>&nbsp;void</CODE></FONT></TD>
  429. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitArray(java.lang.Class, java.lang.String, java.lang.Class)">addImplicitArray</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  430. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName,
  431. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;itemType)</CODE>
  432. <BR>
  433. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an implicit array which is used for all items of the given itemType when the array
  434. type matches.</TD>
  435. </TR>
  436. <TR BGCOLOR="white" CLASS="TableRowColor">
  437. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  438. <CODE>&nbsp;void</CODE></FONT></TD>
  439. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitArray(java.lang.Class, java.lang.String, java.lang.String)">addImplicitArray</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  440. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName,
  441. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;itemName)</CODE>
  442. <BR>
  443. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an implicit array which is used for all items of the given element name defined by
  444. itemName.</TD>
  445. </TR>
  446. <TR BGCOLOR="white" CLASS="TableRowColor">
  447. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  448. <CODE>&nbsp;void</CODE></FONT></TD>
  449. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitCollection(java.lang.Class, java.lang.String)">addImplicitCollection</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  450. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName)</CODE>
  451. <BR>
  452. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a default implicit collection which is used for any unmapped XML tag.</TD>
  453. </TR>
  454. <TR BGCOLOR="white" CLASS="TableRowColor">
  455. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  456. <CODE>&nbsp;void</CODE></FONT></TD>
  457. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitCollection(java.lang.Class, java.lang.String, java.lang.Class)">addImplicitCollection</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  458. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName,
  459. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;itemType)</CODE>
  460. <BR>
  461. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds implicit collection which is used for all items of the given itemType.</TD>
  462. </TR>
  463. <TR BGCOLOR="white" CLASS="TableRowColor">
  464. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  465. <CODE>&nbsp;void</CODE></FONT></TD>
  466. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitCollection(java.lang.Class, java.lang.String, java.lang.String, java.lang.Class)">addImplicitCollection</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  467. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName,
  468. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;itemFieldName,
  469. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;itemType)</CODE>
  470. <BR>
  471. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds implicit collection which is used for all items of the given element name defined by
  472. itemFieldName.</TD>
  473. </TR>
  474. <TR BGCOLOR="white" CLASS="TableRowColor">
  475. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  476. <CODE>&nbsp;void</CODE></FONT></TD>
  477. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitMap(java.lang.Class, java.lang.String, java.lang.Class, java.lang.String)">addImplicitMap</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  478. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName,
  479. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;itemType,
  480. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;keyFieldName)</CODE>
  481. <BR>
  482. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an implicit map.</TD>
  483. </TR>
  484. <TR BGCOLOR="white" CLASS="TableRowColor">
  485. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  486. <CODE>&nbsp;void</CODE></FONT></TD>
  487. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#addImplicitMap(java.lang.Class, java.lang.String, java.lang.String, java.lang.Class, java.lang.String)">addImplicitMap</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;ownerType,
  488. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName,
  489. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;itemFieldName,
  490. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;itemType,
  491. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;keyFieldName)</CODE>
  492. <BR>
  493. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an implicit map.</TD>
  494. </TR>
  495. <TR BGCOLOR="white" CLASS="TableRowColor">
  496. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  497. <CODE>&nbsp;void</CODE></FONT></TD>
  498. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#alias(java.lang.String, java.lang.Class)">alias</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  499. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;type)</CODE>
  500. <BR>
  501. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alias a Class to a shorter name to be used in XML elements.</TD>
  502. </TR>
  503. <TR BGCOLOR="white" CLASS="TableRowColor">
  504. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  505. <CODE>&nbsp;void</CODE></FONT></TD>
  506. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#alias(java.lang.String, java.lang.Class, java.lang.Class)">alias</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  507. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;type,
  508. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;defaultImplementation)</CODE>
  509. <BR>
  510. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alias a Class to a shorter name to be used in XML elements.</TD>
  511. </TR>
  512. <TR BGCOLOR="white" CLASS="TableRowColor">
  513. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  514. <CODE>&nbsp;void</CODE></FONT></TD>
  515. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#aliasAttribute(java.lang.Class, java.lang.String, java.lang.String)">aliasAttribute</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;definedIn,
  516. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;attributeName,
  517. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;alias)</CODE>
  518. <BR>
  519. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an alias for an attribute.</TD>
  520. </TR>
  521. <TR BGCOLOR="white" CLASS="TableRowColor">
  522. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  523. <CODE>&nbsp;void</CODE></FONT></TD>
  524. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#aliasAttribute(java.lang.String, java.lang.String)">aliasAttribute</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;alias,
  525. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;attributeName)</CODE>
  526. <BR>
  527. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an alias for an attribute</TD>
  528. </TR>
  529. <TR BGCOLOR="white" CLASS="TableRowColor">
  530. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  531. <CODE>&nbsp;void</CODE></FONT></TD>
  532. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#aliasField(java.lang.String, java.lang.Class, java.lang.String)">aliasField</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;alias,
  533. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;definedIn,
  534. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName)</CODE>
  535. <BR>
  536. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an alias for a field name.</TD>
  537. </TR>
  538. <TR BGCOLOR="white" CLASS="TableRowColor">
  539. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  540. <CODE>&nbsp;void</CODE></FONT></TD>
  541. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#aliasPackage(java.lang.String, java.lang.String)">aliasPackage</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  542. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;pkgName)</CODE>
  543. <BR>
  544. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alias a package to a shorter name to be used in XML elements.</TD>
  545. </TR>
  546. <TR BGCOLOR="white" CLASS="TableRowColor">
  547. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  548. <CODE>&nbsp;void</CODE></FONT></TD>
  549. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#aliasSystemAttribute(java.lang.String, java.lang.String)">aliasSystemAttribute</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;alias,
  550. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;systemAttributeName)</CODE>
  551. <BR>
  552. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an alias for a system attribute.</TD>
  553. </TR>
  554. <TR BGCOLOR="white" CLASS="TableRowColor">
  555. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  556. <CODE>&nbsp;void</CODE></FONT></TD>
  557. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#aliasType(java.lang.String, java.lang.Class)">aliasType</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
  558. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;type)</CODE>
  559. <BR>
  560. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alias a type to a shorter name to be used in XML elements.</TD>
  561. </TR>
  562. <TR BGCOLOR="white" CLASS="TableRowColor">
  563. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  564. <CODE>&nbsp;void</CODE></FONT></TD>
  565. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#autodetectAnnotations(boolean)">autodetectAnnotations</A></B>(boolean&nbsp;mode)</CODE>
  566. <BR>
  567. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the auto-detection mode of the AnnotationMapper.</TD>
  568. </TR>
  569. <TR BGCOLOR="white" CLASS="TableRowColor">
  570. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  571. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectInputStream.html?is-external=true" title="class or interface in java.io">ObjectInputStream</A></CODE></FONT></TD>
  572. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectInputStream(com.thoughtworks.xstream.io.HierarchicalStreamReader)">createObjectInputStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamReader.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamReader</A>&nbsp;reader)</CODE>
  573. <BR>
  574. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectInputStream that deserializes a stream of objects from a reader using
  575. XStream.</TD>
  576. </TR>
  577. <TR BGCOLOR="white" CLASS="TableRowColor">
  578. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  579. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectInputStream.html?is-external=true" title="class or interface in java.io">ObjectInputStream</A></CODE></FONT></TD>
  580. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectInputStream(java.io.InputStream)">createObjectInputStream</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;in)</CODE>
  581. <BR>
  582. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectInputStream that deserializes a stream of objects from an InputStream
  583. using XStream.</TD>
  584. </TR>
  585. <TR BGCOLOR="white" CLASS="TableRowColor">
  586. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  587. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectInputStream.html?is-external=true" title="class or interface in java.io">ObjectInputStream</A></CODE></FONT></TD>
  588. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectInputStream(java.io.Reader)">createObjectInputStream</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;xmlReader)</CODE>
  589. <BR>
  590. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectInputStream that deserializes a stream of objects from a reader using
  591. XStream.</TD>
  592. </TR>
  593. <TR BGCOLOR="white" CLASS="TableRowColor">
  594. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  595. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectOutputStream.html?is-external=true" title="class or interface in java.io">ObjectOutputStream</A></CODE></FONT></TD>
  596. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectOutputStream(com.thoughtworks.xstream.io.HierarchicalStreamWriter)">createObjectOutputStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A>&nbsp;writer)</CODE>
  597. <BR>
  598. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectOutputStream that serializes a stream of objects to the writer using
  599. XStream.</TD>
  600. </TR>
  601. <TR BGCOLOR="white" CLASS="TableRowColor">
  602. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  603. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectOutputStream.html?is-external=true" title="class or interface in java.io">ObjectOutputStream</A></CODE></FONT></TD>
  604. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectOutputStream(com.thoughtworks.xstream.io.HierarchicalStreamWriter, java.lang.String)">createObjectOutputStream</A></B>(<A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A>&nbsp;writer,
  605. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;rootNodeName)</CODE>
  606. <BR>
  607. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectOutputStream that serializes a stream of objects to the writer using
  608. XStream.</TD>
  609. </TR>
  610. <TR BGCOLOR="white" CLASS="TableRowColor">
  611. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  612. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectOutputStream.html?is-external=true" title="class or interface in java.io">ObjectOutputStream</A></CODE></FONT></TD>
  613. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectOutputStream(java.io.OutputStream)">createObjectOutputStream</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;out)</CODE>
  614. <BR>
  615. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectOutputStream that serializes a stream of objects to the OutputStream
  616. using XStream.</TD>
  617. </TR>
  618. <TR BGCOLOR="white" CLASS="TableRowColor">
  619. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  620. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectOutputStream.html?is-external=true" title="class or interface in java.io">ObjectOutputStream</A></CODE></FONT></TD>
  621. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectOutputStream(java.io.OutputStream, java.lang.String)">createObjectOutputStream</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;out,
  622. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;rootNodeName)</CODE>
  623. <BR>
  624. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectOutputStream that serializes a stream of objects to the OutputStream
  625. using XStream.</TD>
  626. </TR>
  627. <TR BGCOLOR="white" CLASS="TableRowColor">
  628. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  629. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectOutputStream.html?is-external=true" title="class or interface in java.io">ObjectOutputStream</A></CODE></FONT></TD>
  630. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectOutputStream(java.io.Writer)">createObjectOutputStream</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>
  631. <BR>
  632. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectOutputStream that serializes a stream of objects to the writer using
  633. XStream.</TD>
  634. </TR>
  635. <TR BGCOLOR="white" CLASS="TableRowColor">
  636. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  637. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/ObjectOutputStream.html?is-external=true" title="class or interface in java.io">ObjectOutputStream</A></CODE></FONT></TD>
  638. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#createObjectOutputStream(java.io.Writer, java.lang.String)">createObjectOutputStream</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,
  639. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;rootNodeName)</CODE>
  640. <BR>
  641. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an ObjectOutputStream that serializes a stream of objects to the writer using
  642. XStream.</TD>
  643. </TR>
  644. <TR BGCOLOR="white" CLASS="TableRowColor">
  645. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  646. <CODE>&nbsp;<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></CODE></FONT></TD>
  647. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.io.File)">fromXML</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;file)</CODE>
  648. <BR>
  649. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from a file.</TD>
  650. </TR>
  651. <TR BGCOLOR="white" CLASS="TableRowColor">
  652. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  653. <CODE>&nbsp;<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></CODE></FONT></TD>
  654. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.io.File, java.lang.Object)">fromXML</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;file,
  655. <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>&nbsp;root)</CODE>
  656. <BR>
  657. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from a file, populating the fields of the given root
  658. object instead of instantiating a new one.</TD>
  659. </TR>
  660. <TR BGCOLOR="white" CLASS="TableRowColor">
  661. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  662. <CODE>&nbsp;<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></CODE></FONT></TD>
  663. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.io.InputStream)">fromXML</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>
  664. <BR>
  665. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from an XML InputStream.</TD>
  666. </TR>
  667. <TR BGCOLOR="white" CLASS="TableRowColor">
  668. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  669. <CODE>&nbsp;<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></CODE></FONT></TD>
  670. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.io.InputStream, java.lang.Object)">fromXML</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,
  671. <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>&nbsp;root)</CODE>
  672. <BR>
  673. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from an XML InputStream, populating the fields of the given root
  674. object instead of instantiating a new one.</TD>
  675. </TR>
  676. <TR BGCOLOR="white" CLASS="TableRowColor">
  677. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  678. <CODE>&nbsp;<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></CODE></FONT></TD>
  679. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.io.Reader)">fromXML</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>
  680. <BR>
  681. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from an XML Reader.</TD>
  682. </TR>
  683. <TR BGCOLOR="white" CLASS="TableRowColor">
  684. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  685. <CODE>&nbsp;<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></CODE></FONT></TD>
  686. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.io.Reader, java.lang.Object)">fromXML</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;xml,
  687. <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>&nbsp;root)</CODE>
  688. <BR>
  689. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from an XML Reader, populating the fields of the given root object
  690. instead of instantiating a new one.</TD>
  691. </TR>
  692. <TR BGCOLOR="white" CLASS="TableRowColor">
  693. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  694. <CODE>&nbsp;<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></CODE></FONT></TD>
  695. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.lang.String)">fromXML</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;xml)</CODE>
  696. <BR>
  697. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from an XML String.</TD>
  698. </TR>
  699. <TR BGCOLOR="white" CLASS="TableRowColor">
  700. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  701. <CODE>&nbsp;<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></CODE></FONT></TD>
  702. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.lang.String, java.lang.Object)">fromXML</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;xml,
  703. <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>&nbsp;root)</CODE>
  704. <BR>
  705. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from an XML String, populating the fields of the given root object
  706. instead of instantiating a new one.</TD>
  707. </TR>
  708. <TR BGCOLOR="white" CLASS="TableRowColor">
  709. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  710. <CODE>&nbsp;<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></CODE></FONT></TD>
  711. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.net.URL)">fromXML</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;url)</CODE>
  712. <BR>
  713. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from a URL.</TD>
  714. </TR>
  715. <TR BGCOLOR="white" CLASS="TableRowColor">
  716. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  717. <CODE>&nbsp;<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></CODE></FONT></TD>
  718. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#fromXML(java.net.URL, java.lang.Object)">fromXML</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;url,
  719. <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>&nbsp;root)</CODE>
  720. <BR>
  721. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from a URL, populating the fields of the given root
  722. object instead of instantiating a new one.</TD>
  723. </TR>
  724. <TR BGCOLOR="white" CLASS="TableRowColor">
  725. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  726. <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</A></CODE></FONT></TD>
  727. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#getClassLoader()">getClassLoader</A></B>()</CODE>
  728. <BR>
  729. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve the ClassLoader XStream uses to load classes.</TD>
  730. </TR>
  731. <TR BGCOLOR="white" CLASS="TableRowColor">
  732. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  733. <CODE>&nbsp;<A HREF="../../../com/thoughtworks/xstream/converters/ConverterLookup.html" title="interface in com.thoughtworks.xstream.converters">ConverterLookup</A></CODE></FONT></TD>
  734. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#getConverterLookup()">getConverterLookup</A></B>()</CODE>
  735. <BR>
  736. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  737. </TR>
  738. <TR BGCOLOR="white" CLASS="TableRowColor">
  739. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  740. <CODE>&nbsp;<A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper">Mapper</A></CODE></FONT></TD>
  741. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#getMapper()">getMapper</A></B>()</CODE>
  742. <BR>
  743. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve the <A HREF="../../../com/thoughtworks/xstream/mapper/Mapper.html" title="interface in com.thoughtworks.xstream.mapper"><CODE>Mapper</CODE></A>.</TD>
  744. </TR>
  745. <TR BGCOLOR="white" CLASS="TableRowColor">
  746. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  747. <CODE>&nbsp;<A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection">ReflectionProvider</A></CODE></FONT></TD>
  748. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#getReflectionProvider()">getReflectionProvider</A></B>()</CODE>
  749. <BR>
  750. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve the <A HREF="../../../com/thoughtworks/xstream/converters/reflection/ReflectionProvider.html" title="interface in com.thoughtworks.xstream.converters.reflection"><CODE>ReflectionProvider</CODE></A> in use.</TD>
  751. </TR>
  752. <TR BGCOLOR="white" CLASS="TableRowColor">
  753. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  754. <CODE>&nbsp;void</CODE></FONT></TD>
  755. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#marshal(java.lang.Object, com.thoughtworks.xstream.io.HierarchicalStreamWriter)">marshal</A></B>(<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>&nbsp;obj,
  756. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A>&nbsp;writer)</CODE>
  757. <BR>
  758. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize and object to a hierarchical data structure (such as XML).</TD>
  759. </TR>
  760. <TR BGCOLOR="white" CLASS="TableRowColor">
  761. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  762. <CODE>&nbsp;void</CODE></FONT></TD>
  763. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#marshal(java.lang.Object, com.thoughtworks.xstream.io.HierarchicalStreamWriter, com.thoughtworks.xstream.converters.DataHolder)">marshal</A></B>(<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>&nbsp;obj,
  764. <A HREF="../../../com/thoughtworks/xstream/io/HierarchicalStreamWriter.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamWriter</A>&nbsp;writer,
  765. <A HREF="../../../com/thoughtworks/xstream/converters/DataHolder.html" title="interface in com.thoughtworks.xstream.converters">DataHolder</A>&nbsp;dataHolder)</CODE>
  766. <BR>
  767. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize and object to a hierarchical data structure (such as XML).</TD>
  768. </TR>
  769. <TR BGCOLOR="white" CLASS="TableRowColor">
  770. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  771. <CODE>&nbsp;<A HREF="../../../com/thoughtworks/xstream/converters/DataHolder.html" title="interface in com.thoughtworks.xstream.converters">DataHolder</A></CODE></FONT></TD>
  772. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#newDataHolder()">newDataHolder</A></B>()</CODE>
  773. <BR>
  774. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a DataHolder that can be used to pass data to the converters.</TD>
  775. </TR>
  776. <TR BGCOLOR="white" CLASS="TableRowColor">
  777. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  778. <CODE>&nbsp;void</CODE></FONT></TD>
  779. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#omitField(java.lang.Class, java.lang.String)">omitField</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;definedIn,
  780. <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;fieldName)</CODE>
  781. <BR>
  782. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prevents a field from being serialized.</TD>
  783. </TR>
  784. <TR BGCOLOR="white" CLASS="TableRowColor">
  785. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  786. <CODE>&nbsp;void</CODE></FONT></TD>
  787. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#processAnnotations(java.lang.Class)">processAnnotations</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;type)</CODE>
  788. <BR>
  789. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the annotations of the given type and configure the XStream.</TD>
  790. </TR>
  791. <TR BGCOLOR="white" CLASS="TableRowColor">
  792. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  793. <CODE>&nbsp;void</CODE></FONT></TD>
  794. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#processAnnotations(java.lang.Class[])">processAnnotations</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>[]&nbsp;types)</CODE>
  795. <BR>
  796. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the annotations of the given types and configure the XStream.</TD>
  797. </TR>
  798. <TR BGCOLOR="white" CLASS="TableRowColor">
  799. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  800. <CODE>&nbsp;void</CODE></FONT></TD>
  801. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#registerConverter(com.thoughtworks.xstream.converters.Converter)">registerConverter</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/Converter.html" title="interface in com.thoughtworks.xstream.converters">Converter</A>&nbsp;converter)</CODE>
  802. <BR>
  803. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  804. </TR>
  805. <TR BGCOLOR="white" CLASS="TableRowColor">
  806. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  807. <CODE>&nbsp;void</CODE></FONT></TD>
  808. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#registerConverter(com.thoughtworks.xstream.converters.Converter, int)">registerConverter</A></B>(<A HREF="../../../com/thoughtworks/xstream/converters/Converter.html" title="interface in com.thoughtworks.xstream.converters">Converter</A>&nbsp;converter,
  809. int&nbsp;priority)</CODE>
  810. <BR>
  811. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  812. </TR>
  813. <TR BGCOLOR="white" CLASS="TableRowColor">
  814. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  815. <CODE>&nbsp;void</CODE></FONT></TD>
  816. <TD><CODE><B><A HREF="../../../com/thoughtworks/xstream/XStream.html#registerConverter(com.thoughtworks.xstream.converters.SingleValueConverter)">registerConve