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

http://prototipomemoria.googlecode.com/ · HTML · 303 lines · 248 code · 33 blank · 22 comment · 0 complexity · 1da4a6a7774ae77aba6e1d8b2b012c03 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_26) on Thu Aug 11 04:40:24 CEST 2011 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. AbstractDriver (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="AbstractDriver (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/AbstractDriver.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;PREV CLASS&nbsp;
  52. &nbsp;<A HREF="../../../../com/thoughtworks/xstream/io/AbstractReader.html" title="class in com.thoughtworks.xstream.io"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../index.html?com/thoughtworks/xstream/io/AbstractDriver.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="AbstractDriver.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  56. &nbsp;<SCRIPT type="text/javascript">
  57. <!--
  58. if(window==top) {
  59. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  60. }
  61. //-->
  62. </SCRIPT>
  63. <NOSCRIPT>
  64. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  65. </NOSCRIPT>
  66. </FONT></TD>
  67. </TR>
  68. <TR>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  71. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  72. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  73. </TR>
  74. </TABLE>
  75. <A NAME="skip-navbar_top"></A>
  76. <!-- ========= END OF TOP NAVBAR ========= -->
  77. <HR>
  78. <!-- ======== START OF CLASS DATA ======== -->
  79. <H2>
  80. <FONT SIZE="-1">
  81. com.thoughtworks.xstream.io</FONT>
  82. <BR>
  83. Class AbstractDriver</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.io.AbstractDriver</B>
  87. </PRE>
  88. <DL>
  89. <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>
  90. </DL>
  91. <DL>
  92. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/thoughtworks/xstream/io/xml/AbstractXmlDriver.html" title="class in com.thoughtworks.xstream.io.xml">AbstractXmlDriver</A>, <A HREF="../../../../com/thoughtworks/xstream/io/json/JettisonMappedXmlDriver.html" title="class in com.thoughtworks.xstream.io.json">JettisonMappedXmlDriver</A></DD>
  93. </DL>
  94. <HR>
  95. <DL>
  96. <DT><PRE>public abstract class <B>AbstractDriver</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><DT>implements <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A></DL>
  97. </PRE>
  98. <P>
  99. Abstract base class for all HierarchicalStreamDriver implementations. Implementations of
  100. <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io"><CODE>HierarchicalStreamDriver</CODE></A> should rather be derived from this class then implementing
  101. the interface directly.
  102. <P>
  103. <P>
  104. <DL>
  105. <DT><B>Since:</B></DT>
  106. <DD>1.4</DD>
  107. <DT><B>Author:</B></DT>
  108. <DD>J&ouml;rg Schaible</DD>
  109. </DL>
  110. <HR>
  111. <P>
  112. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  113. <A NAME="constructor_summary"><!-- --></A>
  114. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  115. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  116. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  117. <B>Constructor Summary</B></FONT></TH>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD><CODE><B><A HREF="../../../../com/thoughtworks/xstream/io/AbstractDriver.html#AbstractDriver()">AbstractDriver</A></B>()</CODE>
  121. <BR>
  122. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an AbstractDriver with a NameCoder that does nothing.</TD>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD><CODE><B><A HREF="../../../../com/thoughtworks/xstream/io/AbstractDriver.html#AbstractDriver(com.thoughtworks.xstream.io.naming.NameCoder)">AbstractDriver</A></B>(<A HREF="../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</CODE>
  126. <BR>
  127. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an AbstractDriver with a provided <A HREF="../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming"><CODE>NameCoder</CODE></A>.</TD>
  128. </TR>
  129. </TABLE>
  130. &nbsp;
  131. <!-- ========== METHOD SUMMARY =========== -->
  132. <A NAME="method_summary"><!-- --></A>
  133. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  134. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  135. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  136. <B>Method Summary</B></FONT></TH>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <CODE>protected &nbsp;<A HREF="../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A></CODE></FONT></TD>
  141. <TD><CODE><B><A HREF="../../../../com/thoughtworks/xstream/io/AbstractDriver.html#getNameCoder()">getNameCoder</A></B>()</CODE>
  142. <BR>
  143. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  144. </TR>
  145. </TABLE>
  146. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  147. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  148. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  149. <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>
  150. </TR>
  151. <TR BGCOLOR="white" CLASS="TableRowColor">
  152. <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>
  153. </TR>
  154. </TABLE>
  155. &nbsp;<A NAME="methods_inherited_from_class_com.thoughtworks.xstream.io.HierarchicalStreamDriver"><!-- --></A>
  156. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  157. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  158. <TH ALIGN="left"><B>Methods inherited from interface com.thoughtworks.xstream.io.<A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html" title="interface in com.thoughtworks.xstream.io">HierarchicalStreamDriver</A></B></TH>
  159. </TR>
  160. <TR BGCOLOR="white" CLASS="TableRowColor">
  161. <TD><CODE><A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.File)">createReader</A>, <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.InputStream)">createReader</A>, <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.io.Reader)">createReader</A>, <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createReader(java.net.URL)">createReader</A>, <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createWriter(java.io.OutputStream)">createWriter</A>, <A HREF="../../../../com/thoughtworks/xstream/io/HierarchicalStreamDriver.html#createWriter(java.io.Writer)">createWriter</A></CODE></TD>
  162. </TR>
  163. </TABLE>
  164. &nbsp;
  165. <P>
  166. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  167. <A NAME="constructor_detail"><!-- --></A>
  168. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  169. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  170. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  171. <B>Constructor Detail</B></FONT></TH>
  172. </TR>
  173. </TABLE>
  174. <A NAME="AbstractDriver()"><!-- --></A><H3>
  175. AbstractDriver</H3>
  176. <PRE>
  177. public <B>AbstractDriver</B>()</PRE>
  178. <DL>
  179. <DD>Creates an AbstractDriver with a NameCoder that does nothing.
  180. <P>
  181. </DL>
  182. <HR>
  183. <A NAME="AbstractDriver(com.thoughtworks.xstream.io.naming.NameCoder)"><!-- --></A><H3>
  184. AbstractDriver</H3>
  185. <PRE>
  186. public <B>AbstractDriver</B>(<A HREF="../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A>&nbsp;nameCoder)</PRE>
  187. <DL>
  188. <DD>Creates an AbstractDriver with a provided <A HREF="../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming"><CODE>NameCoder</CODE></A>.
  189. <P>
  190. <DL>
  191. <DT><B>Parameters:</B><DD><CODE>nameCoder</CODE> - the name coder for the target format</DL>
  192. </DL>
  193. <!-- ============ METHOD DETAIL ========== -->
  194. <A NAME="method_detail"><!-- --></A>
  195. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  196. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  197. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  198. <B>Method Detail</B></FONT></TH>
  199. </TR>
  200. </TABLE>
  201. <A NAME="getNameCoder()"><!-- --></A><H3>
  202. getNameCoder</H3>
  203. <PRE>
  204. protected <A HREF="../../../../com/thoughtworks/xstream/io/naming/NameCoder.html" title="interface in com.thoughtworks.xstream.io.naming">NameCoder</A> <B>getNameCoder</B>()</PRE>
  205. <DL>
  206. <DD><DL>
  207. </DL>
  208. </DD>
  209. <DD><DL>
  210. </DL>
  211. </DD>
  212. </DL>
  213. <!-- ========= END OF CLASS DATA ========= -->
  214. <HR>
  215. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  216. <A NAME="navbar_bottom"><!-- --></A>
  217. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  218. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  219. <TR>
  220. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  221. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  222. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  223. <TR ALIGN="center" VALIGN="top">
  224. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  225. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  226. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  227. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractDriver.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  228. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  229. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  230. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  231. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  232. </TR>
  233. </TABLE>
  234. </TD>
  235. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  236. </EM>
  237. </TD>
  238. </TR>
  239. <TR>
  240. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  241. &nbsp;PREV CLASS&nbsp;
  242. &nbsp;<A HREF="../../../../com/thoughtworks/xstream/io/AbstractReader.html" title="class in com.thoughtworks.xstream.io"><B>NEXT CLASS</B></A></FONT></TD>
  243. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  244. <A HREF="../../../../index.html?com/thoughtworks/xstream/io/AbstractDriver.html" target="_top"><B>FRAMES</B></A> &nbsp;
  245. &nbsp;<A HREF="AbstractDriver.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  246. &nbsp;<SCRIPT type="text/javascript">
  247. <!--
  248. if(window==top) {
  249. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  250. }
  251. //-->
  252. </SCRIPT>
  253. <NOSCRIPT>
  254. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  255. </NOSCRIPT>
  256. </FONT></TD>
  257. </TR>
  258. <TR>
  259. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  260. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  261. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  262. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  263. </TR>
  264. </TABLE>
  265. <A NAME="skip-navbar_bottom"></A>
  266. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  267. <HR>
  268. Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
  269. </BODY>
  270. </HTML>