PageRenderTime 49ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/Prototipo/Servlet/lib/xstream-distribution-1.4.1-bin/xstream-1.4.1/docs/benchmark-javadoc/com/thoughtworks/xstream/tools/benchmark/Product.html

http://prototipomemoria.googlecode.com/
HTML | 250 lines | 200 code | 30 blank | 20 comment | 0 complexity | c78b0b9ffc103246b5e190a30ba7235f 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:42:06 CEST 2011 -->
  6. <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <TITLE>
  8. Product (XStream Benchmark 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="Product (XStream Benchmark 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/Product.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/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><B>PREV CLASS</B></A>&nbsp;
  52. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Reporter.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><B>NEXT CLASS</B></A></FONT></TD>
  53. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  54. <A HREF="../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/Product.html" target="_top"><B>FRAMES</B></A> &nbsp;
  55. &nbsp;<A HREF="Product.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;CONSTR&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;CONSTR&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.tools.benchmark</FONT>
  82. <BR>
  83. Interface Product</H2>
  84. <DL>
  85. <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/JavaObjectSerialization.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">JavaObjectSerialization</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamBEAStax.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamBEAStax</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamBinary.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamBinary</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamCompact.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamCompact</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamDom.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamDom</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamDom4J.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamDom4J</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamDriver.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamDriver</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamJDom.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamJDom</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamKXml2.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamKXml2</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamKXml2DOM.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamKXml2DOM</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamSjsxp.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamSjsxp</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamStax.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamStax</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamWoodstox.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamWoodstox</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamXom.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamXom</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamXpp.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamXpp</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamXpp3.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamXpp3</A>, <A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/products/XStreamXpp3DOM.html" title="class in com.thoughtworks.xstream.tools.benchmark.products">XStreamXpp3DOM</A></DD>
  86. </DL>
  87. <HR>
  88. <DL>
  89. <DT><PRE>public interface <B>Product</B></DL>
  90. </PRE>
  91. <P>
  92. Provides an abstraction above the product used to perform the serialization/deserialization
  93. in the benchmarks.
  94. <P>
  95. <P>
  96. <DL>
  97. <DT><B>Author:</B></DT>
  98. <DD>Joe Walnes</DD>
  99. <DT><B>See Also:</B><DD><A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Harness.html" title="class in com.thoughtworks.xstream.tools.benchmark"><CODE>Harness</CODE></A></DL>
  100. <HR>
  101. <P>
  102. <!-- ========== METHOD SUMMARY =========== -->
  103. <A NAME="method_summary"><!-- --></A>
  104. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  105. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  106. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  107. <B>Method Summary</B></FONT></TH>
  108. </TR>
  109. <TR BGCOLOR="white" CLASS="TableRowColor">
  110. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  111. <CODE>&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>
  112. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Product.html#deserialize(java.io.InputStream)">deserialize</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>
  113. <BR>
  114. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from a stream.</TD>
  115. </TR>
  116. <TR BGCOLOR="white" CLASS="TableRowColor">
  117. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  118. <CODE>&nbsp;void</CODE></FONT></TD>
  119. <TD><CODE><B><A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Product.html#serialize(java.lang.Object, java.io.OutputStream)">serialize</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;object,
  120. <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>
  121. <BR>
  122. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize an object to a stream.</TD>
  123. </TR>
  124. </TABLE>
  125. &nbsp;
  126. <P>
  127. <!-- ============ METHOD DETAIL ========== -->
  128. <A NAME="method_detail"><!-- --></A>
  129. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  130. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  131. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  132. <B>Method Detail</B></FONT></TH>
  133. </TR>
  134. </TABLE>
  135. <A NAME="serialize(java.lang.Object, java.io.OutputStream)"><!-- --></A><H3>
  136. serialize</H3>
  137. <PRE>
  138. void <B>serialize</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;object,
  139. <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)
  140. throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
  141. <DL>
  142. <DD>Serialize an object to a stream.
  143. <P>
  144. <DD><DL>
  145. <DT><B>Throws:</B>
  146. <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
  147. </DD>
  148. </DL>
  149. <HR>
  150. <A NAME="deserialize(java.io.InputStream)"><!-- --></A><H3>
  151. deserialize</H3>
  152. <PRE>
  153. <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>deserialize</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)
  154. throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE>
  155. <DL>
  156. <DD>Deserialize an object from a stream.
  157. <P>
  158. <DD><DL>
  159. <DT><B>Throws:</B>
  160. <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL>
  161. </DD>
  162. </DL>
  163. <!-- ========= END OF CLASS DATA ========= -->
  164. <HR>
  165. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  166. <A NAME="navbar_bottom"><!-- --></A>
  167. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  168. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  169. <TR>
  170. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  171. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  172. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  173. <TR ALIGN="center" VALIGN="top">
  174. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  175. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  176. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  177. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Product.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  178. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  179. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  180. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  181. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  182. </TR>
  183. </TABLE>
  184. </TD>
  185. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  186. </EM>
  187. </TD>
  188. </TR>
  189. <TR>
  190. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  191. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><B>PREV CLASS</B></A>&nbsp;
  192. &nbsp;<A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Reporter.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><B>NEXT CLASS</B></A></FONT></TD>
  193. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  194. <A HREF="../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/Product.html" target="_top"><B>FRAMES</B></A> &nbsp;
  195. &nbsp;<A HREF="Product.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  196. &nbsp;<SCRIPT type="text/javascript">
  197. <!--
  198. if(window==top) {
  199. document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  200. }
  201. //-->
  202. </SCRIPT>
  203. <NOSCRIPT>
  204. <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  205. </NOSCRIPT>
  206. </FONT></TD>
  207. </TR>
  208. <TR>
  209. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  210. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  211. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  212. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  213. </TR>
  214. </TABLE>
  215. <A NAME="skip-navbar_bottom"></A>
  216. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  217. <HR>
  218. Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
  219. </BODY>
  220. </HTML>