• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/docs/java/com/sleepycat/bind/serial/
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_03) on Mon Apr 12 16:25:48 EDT 2010 -->
6<TITLE>
7SerialSerialBinding (Oracle - Berkeley DB Java API)
8</TITLE>
9
10<META NAME="date" CONTENT="2010-04-12">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="SerialSerialBinding (Oracle - Berkeley DB Java API)";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SerialSerialBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialOutput.html" title="class in com.sleepycat.bind.serial"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialKeyCreator.html" title="class in com.sleepycat.bind.serial"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../index.html?com/sleepycat/bind/serial/SerialSerialBinding.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="SerialSerialBinding.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91com.sleepycat.bind.serial</FONT>
92<BR>
93Class SerialSerialBinding&lt;K,D,E&gt;</H2>
94<PRE>
95<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bind.serial.SerialSerialBinding&lt;K,D,E&gt;</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;E&gt;</DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public abstract class <B>SerialSerialBinding&lt;K,D,E&gt;</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;E&gt;</DL>
104</PRE>
105
106<P>
107An abstract <code>EntityBinding</code> that treats an entity's key entry and
108 data entry as serialized objects.
109
110 <p>This class takes care of serializing and deserializing the key and
111 data entry automatically.  Its three abstract methods must be implemented by
112 a concrete subclass to convert the deserialized objects to/from an entity
113 object.</p>
114 <ul>
115 <li> <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#entryToObject(K, D)"><CODE>entryToObject(Object,Object)</CODE></A> </li>
116 <li> <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#objectToKey(E)"><CODE>objectToKey(Object)</CODE></A> </li>
117 <li> <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#objectToData(E)"><CODE>objectToData(Object)</CODE></A> </li>
118 </ul>
119<P>
120
121<P>
122<DL>
123<DT><B>See Also:</B><DD><a href="SerialBinding.html#evolution">Class Evolution</a></DL>
124<HR>
125
126<P>
127
128<!-- ======== CONSTRUCTOR SUMMARY ======== -->
129
130<A NAME="constructor_summary"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134<B>Constructor Summary</B></FONT></TH>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#SerialSerialBinding(com.sleepycat.bind.serial.ClassCatalog, java.lang.Class, java.lang.Class)">SerialSerialBinding</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A>&nbsp;classCatalog,
138                    <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A>&gt;&nbsp;keyClass,
139                    <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A>&gt;&nbsp;dataClass)</CODE>
140
141<BR>
142&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a serial-serial entity binding.</TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#SerialSerialBinding(com.sleepycat.bind.serial.SerialBinding, com.sleepycat.bind.serial.SerialBinding)">SerialSerialBinding</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialBinding.html" title="class in com.sleepycat.bind.serial">SerialBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A>&gt;&nbsp;keyBinding,
146                    <A HREF="../../../../com/sleepycat/bind/serial/SerialBinding.html" title="class in com.sleepycat.bind.serial">SerialBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A>&gt;&nbsp;dataBinding)</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a serial-serial entity binding.</TD>
150</TR>
151</TABLE>
152&nbsp;
153<!-- ========== METHOD SUMMARY =========== -->
154
155<A NAME="method_summary"><!-- --></A>
156<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
159<B>Method Summary</B></FONT></TH>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>&nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A></CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#entryToObject(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)">entryToObject</A></B>(<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key,
165              <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;data)</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts key and data entry buffers into an entity Object.</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>abstract &nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A></CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#entryToObject(K, D)">entryToObject</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A>&nbsp;keyInput,
174              <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A>&nbsp;dataInput)</CODE>
175
176<BR>
177&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an entity object from deserialized key and data objects.</TD>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181<CODE>abstract &nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A></CODE></FONT></TD>
182<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#objectToData(E)">objectToData</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object)</CODE>
183
184<BR>
185&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts a data object from an entity object.</TD>
186</TR>
187<TR BGCOLOR="white" CLASS="TableRowColor">
188<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189<CODE>&nbsp;void</CODE></FONT></TD>
190<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#objectToData(E, com.sleepycat.db.DatabaseEntry)">objectToData</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object,
191             <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;data)</CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts the data entry from an entity Object.</TD>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198<CODE>abstract &nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A></CODE></FONT></TD>
199<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#objectToKey(E)">objectToKey</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object)</CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts a key object from an entity object.</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>&nbsp;void</CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html#objectToKey(E, com.sleepycat.db.DatabaseEntry)">objectToKey</A></B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object,
208            <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key)</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts the key entry from an entity Object.</TD>
212</TR>
213</TABLE>
214&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
215<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
216<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
217<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/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://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
221</TR>
222</TABLE>
223&nbsp;
224<P>
225
226<!-- ========= CONSTRUCTOR DETAIL ======== -->
227
228<A NAME="constructor_detail"><!-- --></A>
229<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
231<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
232<B>Constructor Detail</B></FONT></TH>
233</TR>
234</TABLE>
235
236<A NAME="SerialSerialBinding(com.sleepycat.bind.serial.ClassCatalog, java.lang.Class, java.lang.Class)"><!-- --></A><H3>
237SerialSerialBinding</H3>
238<PRE>
239public <B>SerialSerialBinding</B>(<A HREF="../../../../com/sleepycat/bind/serial/ClassCatalog.html" title="interface in com.sleepycat.bind.serial">ClassCatalog</A>&nbsp;classCatalog,
240                           <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A>&gt;&nbsp;keyClass,
241                           <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A>&gt;&nbsp;dataClass)</PRE>
242<DL>
243<DD>Creates a serial-serial entity binding.
244<P>
245<DL>
246<DT><B>Parameters:</B><DD><CODE>classCatalog</CODE> - is the catalog to hold shared class information and
247 for a database should be a <A HREF="../../../../com/sleepycat/bind/serial/StoredClassCatalog.html" title="class in com.sleepycat.bind.serial"><CODE>StoredClassCatalog</CODE></A>.<DD><CODE>keyClass</CODE> - is the key base class.<DD><CODE>dataClass</CODE> - is the data base class.</DL>
248</DL>
249<HR>
250
251<A NAME="SerialSerialBinding(com.sleepycat.bind.serial.SerialBinding, com.sleepycat.bind.serial.SerialBinding)"><!-- --></A><H3>
252SerialSerialBinding</H3>
253<PRE>
254public <B>SerialSerialBinding</B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialBinding.html" title="class in com.sleepycat.bind.serial">SerialBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A>&gt;&nbsp;keyBinding,
255                           <A HREF="../../../../com/sleepycat/bind/serial/SerialBinding.html" title="class in com.sleepycat.bind.serial">SerialBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A>&gt;&nbsp;dataBinding)</PRE>
256<DL>
257<DD>Creates a serial-serial entity binding.
258<P>
259<DL>
260<DT><B>Parameters:</B><DD><CODE>keyBinding</CODE> - is the key binding.<DD><CODE>dataBinding</CODE> - is the data binding.</DL>
261</DL>
262
263<!-- ============ METHOD DETAIL ========== -->
264
265<A NAME="method_detail"><!-- --></A>
266<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
267<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
268<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
269<B>Method Detail</B></FONT></TH>
270</TR>
271</TABLE>
272
273<A NAME="entryToObject(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3>
274entryToObject</H3>
275<PRE>
276public <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A> <B>entryToObject</B>(<A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key,
277                       <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;data)</PRE>
278<DL>
279<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html#entryToObject(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)">EntityBinding</A></CODE></B></DD>
280<DD>Converts key and data entry buffers into an entity Object.
281<P>
282<DD><DL>
283<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html#entryToObject(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry)">entryToObject</A></CODE> in interface <CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&gt;</CODE></DL>
284</DD>
285<DD><DL>
286<DT><B>Parameters:</B><DD><CODE>key</CODE> - is the source key entry.<DD><CODE>data</CODE> - is the source data entry.
287<DT><B>Returns:</B><DD>the resulting Object.</DL>
288</DD>
289</DL>
290<HR>
291
292<A NAME="objectToKey(java.lang.Object,com.sleepycat.db.DatabaseEntry)"><!-- --></A><A NAME="objectToKey(E, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3>
293objectToKey</H3>
294<PRE>
295public void <B>objectToKey</B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object,
296                        <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;key)</PRE>
297<DL>
298<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html#objectToKey(E, com.sleepycat.db.DatabaseEntry)">EntityBinding</A></CODE></B></DD>
299<DD>Extracts the key entry from an entity Object.
300<P>
301<DD><DL>
302<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html#objectToKey(E, com.sleepycat.db.DatabaseEntry)">objectToKey</A></CODE> in interface <CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&gt;</CODE></DL>
303</DD>
304<DD><DL>
305<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the source Object.<DD><CODE>key</CODE> - is the destination entry buffer.</DL>
306</DD>
307</DL>
308<HR>
309
310<A NAME="objectToData(java.lang.Object,com.sleepycat.db.DatabaseEntry)"><!-- --></A><A NAME="objectToData(E, com.sleepycat.db.DatabaseEntry)"><!-- --></A><H3>
311objectToData</H3>
312<PRE>
313public void <B>objectToData</B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object,
314                         <A HREF="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A>&nbsp;data)</PRE>
315<DL>
316<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html#objectToData(E, com.sleepycat.db.DatabaseEntry)">EntityBinding</A></CODE></B></DD>
317<DD>Extracts the data entry from an entity Object.
318<P>
319<DD><DL>
320<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html#objectToData(E, com.sleepycat.db.DatabaseEntry)">objectToData</A></CODE> in interface <CODE><A HREF="../../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</A>&lt;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&gt;</CODE></DL>
321</DD>
322<DD><DL>
323<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the source Object.<DD><CODE>data</CODE> - is the destination entry buffer.</DL>
324</DD>
325</DL>
326<HR>
327
328<A NAME="entryToObject(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="entryToObject(K, D)"><!-- --></A><H3>
329entryToObject</H3>
330<PRE>
331public abstract <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A> <B>entryToObject</B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A>&nbsp;keyInput,
332                                <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A>&nbsp;dataInput)</PRE>
333<DL>
334<DD>Constructs an entity object from deserialized key and data objects.
335<P>
336<DD><DL>
337</DL>
338</DD>
339<DD><DL>
340<DT><B>Parameters:</B><DD><CODE>keyInput</CODE> - is the deserialized key object.<DD><CODE>dataInput</CODE> - is the deserialized data object.
341<DT><B>Returns:</B><DD>the entity object constructed from the key and data.</DL>
342</DD>
343</DL>
344<HR>
345
346<A NAME="objectToKey(java.lang.Object)"><!-- --></A><A NAME="objectToKey(E)"><!-- --></A><H3>
347objectToKey</H3>
348<PRE>
349public abstract <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">K</A> <B>objectToKey</B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object)</PRE>
350<DL>
351<DD>Extracts a key object from an entity object.
352<P>
353<DD><DL>
354</DL>
355</DD>
356<DD><DL>
357<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the entity object.
358<DT><B>Returns:</B><DD>the deserialized key object.</DL>
359</DD>
360</DL>
361<HR>
362
363<A NAME="objectToData(java.lang.Object)"><!-- --></A><A NAME="objectToData(E)"><!-- --></A><H3>
364objectToData</H3>
365<PRE>
366public abstract <A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">D</A> <B>objectToData</B>(<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialBinding.html" title="type parameter in SerialSerialBinding">E</A>&nbsp;object)</PRE>
367<DL>
368<DD>Extracts a data object from an entity object.
369<P>
370<DD><DL>
371</DL>
372</DD>
373<DD><DL>
374<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the entity object.
375<DT><B>Returns:</B><DD>the deserialized data object.</DL>
376</DD>
377</DL>
378<!-- ========= END OF CLASS DATA ========= -->
379<HR>
380
381
382<!-- ======= START OF BOTTOM NAVBAR ====== -->
383<A NAME="navbar_bottom"><!-- --></A>
384<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
385<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
386<TR>
387<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
388<A NAME="navbar_bottom_firstrow"><!-- --></A>
389<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
390  <TR ALIGN="center" VALIGN="top">
391  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
392  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
393  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
394  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SerialSerialBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
395  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
396  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
397  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
398  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
399  </TR>
400</TABLE>
401</TD>
402<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
403<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM>
404</TD>
405</TR>
406
407<TR>
408<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
409&nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialOutput.html" title="class in com.sleepycat.bind.serial"><B>PREV CLASS</B></A>&nbsp;
410&nbsp;<A HREF="../../../../com/sleepycat/bind/serial/SerialSerialKeyCreator.html" title="class in com.sleepycat.bind.serial"><B>NEXT CLASS</B></A></FONT></TD>
411<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
412  <A HREF="../../../../index.html?com/sleepycat/bind/serial/SerialSerialBinding.html" target="_top"><B>FRAMES</B></A>  &nbsp;
413&nbsp;<A HREF="SerialSerialBinding.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
414&nbsp;<SCRIPT type="text/javascript">
415  <!--
416  if(window==top) {
417    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
418  }
419  //-->
420</SCRIPT>
421<NOSCRIPT>
422  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
423</NOSCRIPT>
424
425
426</FONT></TD>
427</TR>
428<TR>
429<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
430  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
431<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
432DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
433</TR>
434</TABLE>
435<A NAME="skip-navbar_bottom"></A>
436<!-- ======== END OF BOTTOM NAVBAR ======= -->
437
438<HR>
439<font size=1>Copyright (c) 1996-2009 Oracle.  All rights reserved.</font>
440</BODY>
441</HTML>
442