PageRenderTime 37ms CodeModel.GetById 16ms app.highlight 15ms RepoModel.GetById 1ms 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
  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>
  8Product (XStream Benchmark 1.4.1 API)
  9</TITLE>
 10
 11<META NAME="date" CONTENT="2011-08-11">
 12
 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
 14
 15<SCRIPT type="text/javascript">
 16function windowTitle()
 17{
 18    if (location.href.indexOf('is-external=true') == -1) {
 19        parent.document.title="Product (XStream Benchmark 1.4.1 API)";
 20    }
 21}
 22</SCRIPT>
 23<NOSCRIPT>
 24</NOSCRIPT>
 25
 26</HEAD>
 27
 28<BODY BGCOLOR="white" onload="windowTitle();">
 29<HR>
 30
 31
 32<!-- ========= START OF TOP NAVBAR ======= -->
 33<A NAME="navbar_top"><!-- --></A>
 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 36<TR>
 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 38<A NAME="navbar_top_firstrow"><!-- --></A>
 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 40  <TR ALIGN="center" VALIGN="top">
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Product.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 49  </TR>
 50</TABLE>
 51</TD>
 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 53</EM>
 54</TD>
 55</TR>
 56
 57<TR>
 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 59&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><B>PREV CLASS</B></A>&nbsp;
 60&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>
 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 62  <A HREF="../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/Product.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 63&nbsp;<A HREF="Product.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 64&nbsp;<SCRIPT type="text/javascript">
 65  <!--
 66  if(window==top) {
 67    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
 68  }
 69  //-->
 70</SCRIPT>
 71<NOSCRIPT>
 72  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 73</NOSCRIPT>
 74
 75
 76</FONT></TD>
 77</TR>
 78<TR>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 82DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 83</TR>
 84</TABLE>
 85<A NAME="skip-navbar_top"></A>
 86<!-- ========= END OF TOP NAVBAR ========= -->
 87
 88<HR>
 89<!-- ======== START OF CLASS DATA ======== -->
 90<H2>
 91<FONT SIZE="-1">
 92com.thoughtworks.xstream.tools.benchmark</FONT>
 93<BR>
 94Interface Product</H2>
 95<DL>
 96<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>
 97</DL>
 98<HR>
 99<DL>
100<DT><PRE>public interface <B>Product</B></DL>
101</PRE>
102
103<P>
104Provides an abstraction above the product used to perform the serialization/deserialization
105 in the benchmarks.
106<P>
107
108<P>
109<DL>
110<DT><B>Author:</B></DT>
111  <DD>Joe Walnes</DD>
112<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>
113<HR>
114
115<P>
116
117<!-- ========== METHOD SUMMARY =========== -->
118
119<A NAME="method_summary"><!-- --></A>
120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123<B>Method Summary</B></FONT></TH>
124</TR>
125<TR BGCOLOR="white" CLASS="TableRowColor">
126<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127<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>
128<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>
129
130<BR>
131&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize an object from a stream.</TD>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135<CODE>&nbsp;void</CODE></FONT></TD>
136<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,
137          <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>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize an object to a stream.</TD>
141</TR>
142</TABLE>
143&nbsp;
144<P>
145
146<!-- ============ METHOD DETAIL ========== -->
147
148<A NAME="method_detail"><!-- --></A>
149<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
152<B>Method Detail</B></FONT></TH>
153</TR>
154</TABLE>
155
156<A NAME="serialize(java.lang.Object, java.io.OutputStream)"><!-- --></A><H3>
157serialize</H3>
158<PRE>
159void <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,
160               <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)
161               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>
162<DL>
163<DD>Serialize an object to a stream.
164<P>
165<DD><DL>
166
167<DT><B>Throws:</B>
168<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>
169</DD>
170</DL>
171<HR>
172
173<A NAME="deserialize(java.io.InputStream)"><!-- --></A><H3>
174deserialize</H3>
175<PRE>
176<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)
177                   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>
178<DL>
179<DD>Deserialize an object from a stream.
180<P>
181<DD><DL>
182
183<DT><B>Throws:</B>
184<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>
185</DD>
186</DL>
187<!-- ========= END OF CLASS DATA ========= -->
188<HR>
189
190
191<!-- ======= START OF BOTTOM NAVBAR ====== -->
192<A NAME="navbar_bottom"><!-- --></A>
193<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
194<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
195<TR>
196<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
197<A NAME="navbar_bottom_firstrow"><!-- --></A>
198<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
199  <TR ALIGN="center" VALIGN="top">
200  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
201  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
202  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
203  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Product.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
204  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
205  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
206  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
207  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
208  </TR>
209</TABLE>
210</TD>
211<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
212</EM>
213</TD>
214</TR>
215
216<TR>
217<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
218&nbsp;<A HREF="../../../../../com/thoughtworks/xstream/tools/benchmark/Metric.html" title="interface in com.thoughtworks.xstream.tools.benchmark"><B>PREV CLASS</B></A>&nbsp;
219&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>
220<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
221  <A HREF="../../../../../index.html?com/thoughtworks/xstream/tools/benchmark/Product.html" target="_top"><B>FRAMES</B></A>  &nbsp;
222&nbsp;<A HREF="Product.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
223&nbsp;<SCRIPT type="text/javascript">
224  <!--
225  if(window==top) {
226    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
227  }
228  //-->
229</SCRIPT>
230<NOSCRIPT>
231  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
232</NOSCRIPT>
233
234
235</FONT></TD>
236</TR>
237<TR>
238<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
239  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
240<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
241DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
242</TR>
243</TABLE>
244<A NAME="skip-navbar_bottom"></A>
245<!-- ======== END OF BOTTOM NAVBAR ======= -->
246
247<HR>
248Copyright &#169; 2004-2011 <a href="http://xstream.codehaus.org">XStream</a>. All Rights Reserved.
249</BODY>
250</HTML>