| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
|
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
|
| 6 |
<TITLE> |
| 7 |
TupleMarshalledBinding (Oracle - Berkeley DB Java API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="date" CONTENT="2013-09-09"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../style.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
if (location.href.indexOf('is-external=true') == -1) { |
| 18 |
parent.document.title="TupleMarshalledBinding (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 |
|
| 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> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleMarshalledBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 44 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 45 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 46 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 47 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 5.3.28</font></EM> |
| 53 |
</TD> |
| 54 |
</TR> |
| 55 |
|
| 56 |
<TR> |
| 57 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 58 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleInputBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> |
| 60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 61 |
<A HREF="../../../../index.html?com/sleepycat/bind/tuple/TupleMarshalledBinding.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="TupleMarshalledBinding.html" target="_top"><B>NO FRAMES</B></A> |
| 63 |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 82 |
</TR> |
| 83 |
</TABLE> |
| 84 |
<A NAME="skip-navbar_top"></A> |
| 85 |
|
| 86 |
|
| 87 |
<HR> |
| 88 |
|
| 89 |
<H2> |
| 90 |
<FONT SIZE="-1"> |
| 91 |
com.sleepycat.bind.tuple</FONT> |
| 92 |
<BR> |
| 93 |
Class TupleMarshalledBinding<E extends <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleEntry</A>></H2> |
| 94 |
<PRE> |
| 95 |
<A HREF="http://download.oracle.com/javase/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 "><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">com.sleepycat.bind.tuple.TupleBase</A><E> |
| 97 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">com.sleepycat.bind.tuple.TupleBinding</A><E> |
| 98 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.bind.tuple.TupleMarshalledBinding<E></B> |
| 99 |
</PRE> |
| 100 |
<DL> |
| 101 |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</A><E></DD> |
| 102 |
</DL> |
| 103 |
<HR> |
| 104 |
<DL> |
| 105 |
<DT><PRE>public class <B>TupleMarshalledBinding<E extends <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleEntry</A>></B><DT>extends <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A><E></DL> |
| 106 |
</PRE> |
| 107 |
|
| 108 |
<P> |
| 109 |
A concrete <code>TupleBinding</code> that delegates to the |
| 110 |
<code>MarshalledTupleEntry</code> interface of the data or key object. |
| 111 |
|
| 112 |
<p>This class works by calling the methods of the <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleEntry</CODE></A> interface, which must be implemented by the key or |
| 113 |
data class, to convert between the key or data entry and the object.</p> |
| 114 |
<P> |
| 115 |
|
| 116 |
<P> |
| 117 |
<HR> |
| 118 |
|
| 119 |
<P> |
| 120 |
|
| 121 |
|
| 122 |
|
| 123 |
<A NAME="constructor_summary"></A> |
| 124 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 125 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 126 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 127 |
<B>Constructor Summary</B></FONT></TH> |
| 128 |
</TR> |
| 129 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 130 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html#TupleMarshalledBinding(java.lang.Class)">TupleMarshalledBinding</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A>> cls)</CODE> |
| 131 |
|
| 132 |
<BR> |
| 133 |
Creates a tuple marshalled binding object.</TD> |
| 134 |
</TR> |
| 135 |
</TABLE> |
| 136 |
|
| 137 |
|
| 138 |
|
| 139 |
<A NAME="method_summary"></A> |
| 140 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 141 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 142 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| 143 |
<B>Method Summary</B></FONT></TH> |
| 144 |
</TR> |
| 145 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 146 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 147 |
<CODE> <A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A></CODE></FONT></TD> |
| 148 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput)">entryToObject</A></B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> input)</CODE> |
| 149 |
|
| 150 |
<BR> |
| 151 |
Constructs a key or data object from a <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> entry.</TD> |
| 152 |
</TR> |
| 153 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 154 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 155 |
<CODE> void</CODE></FONT></TD> |
| 156 |
<TD><CODE><B><A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html#objectToEntry(E, com.sleepycat.bind.tuple.TupleOutput)">objectToEntry</A></B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A> object, |
| 157 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> output)</CODE> |
| 158 |
|
| 159 |
<BR> |
| 160 |
Converts a key or data object to a tuple entry.</TD> |
| 161 |
</TR> |
| 162 |
</TABLE> |
| 163 |
<A NAME="methods_inherited_from_class_com.sleepycat.bind.tuple.TupleBinding"></A> |
| 164 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 165 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 166 |
<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.bind.tuple.<A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A></B></TH> |
| 167 |
</TR> |
| 168 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 169 |
<TD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#entryToObject(com.sleepycat.db.DatabaseEntry)">entryToObject</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#getPrimitiveBinding(java.lang.Class)">getPrimitiveBinding</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#objectToEntry(E, com.sleepycat.db.DatabaseEntry)">objectToEntry</A></CODE></TD> |
| 170 |
</TR> |
| 171 |
</TABLE> |
| 172 |
<A NAME="methods_inherited_from_class_com.sleepycat.bind.tuple.TupleBase"></A> |
| 173 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 174 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 175 |
<TH ALIGN="left"><B>Methods inherited from class com.sleepycat.bind.tuple.<A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html" title="class in com.sleepycat.bind.tuple">TupleBase</A></B></TH> |
| 176 |
</TR> |
| 177 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 178 |
<TD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#entryToInput(com.sleepycat.db.DatabaseEntry)">entryToInput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#getTupleBufferSize()">getTupleBufferSize</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#getTupleOutput(E)">getTupleOutput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#inputToEntry(com.sleepycat.bind.tuple.TupleInput, com.sleepycat.db.DatabaseEntry)">inputToEntry</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#newOutput()">newOutput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#newOutput(byte[])">newOutput</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#outputToEntry(com.sleepycat.bind.tuple.TupleOutput, com.sleepycat.db.DatabaseEntry)">outputToEntry</A>, <A HREF="../../../../com/sleepycat/bind/tuple/TupleBase.html#setTupleBufferSize(int)">setTupleBufferSize</A></CODE></TD> |
| 179 |
</TR> |
| 180 |
</TABLE> |
| 181 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 182 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 183 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 184 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| 185 |
</TR> |
| 186 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 187 |
<TD><CODE><A HREF="http://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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://download.oracle.com/javase/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> |
| 188 |
</TR> |
| 189 |
</TABLE> |
| 190 |
|
| 191 |
<P> |
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
<A NAME="constructor_detail"></A> |
| 196 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 197 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 198 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 199 |
<B>Constructor Detail</B></FONT></TH> |
| 200 |
</TR> |
| 201 |
</TABLE> |
| 202 |
|
| 203 |
<A NAME="TupleMarshalledBinding(java.lang.Class)"></A><H3> |
| 204 |
TupleMarshalledBinding</H3> |
| 205 |
<PRE> |
| 206 |
public <B>TupleMarshalledBinding</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A>> cls)</PRE> |
| 207 |
<DL> |
| 208 |
<DD>Creates a tuple marshalled binding object. |
| 209 |
|
| 210 |
<p>The given class is used to instantiate key or data objects using |
| 211 |
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Class.html?is-external=true#newInstance()" title="class or interface in java.lang"><CODE>Class.newInstance()</CODE></A>, and therefore must be a public class and have |
| 212 |
a public no-arguments constructor. It must also implement the <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple"><CODE>MarshalledTupleEntry</CODE></A> interface.</p> |
| 213 |
<P> |
| 214 |
<DL> |
| 215 |
<DT><B>Parameters:</B><DD><CODE>cls</CODE> - is the class of the key or data objects.</DL> |
| 216 |
</DL> |
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
<A NAME="method_detail"></A> |
| 221 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 222 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 223 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 224 |
<B>Method Detail</B></FONT></TH> |
| 225 |
</TR> |
| 226 |
</TABLE> |
| 227 |
|
| 228 |
<A NAME="entryToObject(com.sleepycat.bind.tuple.TupleInput)"></A><H3> |
| 229 |
entryToObject</H3> |
| 230 |
<PRE> |
| 231 |
public <A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A> <B>entryToObject</B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple">TupleInput</A> input)</PRE> |
| 232 |
<DL> |
| 233 |
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput)">TupleBinding</A></CODE></B></DD> |
| 234 |
<DD>Constructs a key or data object from a <A HREF="../../../../com/sleepycat/bind/tuple/TupleInput.html" title="class in com.sleepycat.bind.tuple"><CODE>TupleInput</CODE></A> entry. |
| 235 |
<P> |
| 236 |
<DD><DL> |
| 237 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#entryToObject(com.sleepycat.bind.tuple.TupleInput)">entryToObject</A></CODE> in class <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A><<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A> extends <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleEntry</A>></CODE></DL> |
| 238 |
</DD> |
| 239 |
<DD><DL> |
| 240 |
<DT><B>Parameters:</B><DD><CODE>input</CODE> - is the tuple key or data entry. |
| 241 |
<DT><B>Returns:</B><DD>the key or data object constructed from the entry.</DL> |
| 242 |
</DD> |
| 243 |
</DL> |
| 244 |
<HR> |
| 245 |
|
| 246 |
<A NAME="objectToEntry(com.sleepycat.bind.tuple.MarshalledTupleEntry,com.sleepycat.bind.tuple.TupleOutput)"></A><A NAME="objectToEntry(E, com.sleepycat.bind.tuple.TupleOutput)"></A><H3> |
| 247 |
objectToEntry</H3> |
| 248 |
<PRE> |
| 249 |
public void <B>objectToEntry</B>(<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A> object, |
| 250 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple">TupleOutput</A> output)</PRE> |
| 251 |
<DL> |
| 252 |
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#objectToEntry(E, com.sleepycat.bind.tuple.TupleOutput)">TupleBinding</A></CODE></B></DD> |
| 253 |
<DD>Converts a key or data object to a tuple entry. |
| 254 |
<P> |
| 255 |
<DD><DL> |
| 256 |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html#objectToEntry(E, com.sleepycat.bind.tuple.TupleOutput)">objectToEntry</A></CODE> in class <CODE><A HREF="../../../../com/sleepycat/bind/tuple/TupleBinding.html" title="class in com.sleepycat.bind.tuple">TupleBinding</A><<A HREF="../../../../com/sleepycat/bind/tuple/TupleMarshalledBinding.html" title="type parameter in TupleMarshalledBinding">E</A> extends <A HREF="../../../../com/sleepycat/bind/tuple/MarshalledTupleEntry.html" title="interface in com.sleepycat.bind.tuple">MarshalledTupleEntry</A>></CODE></DL> |
| 257 |
</DD> |
| 258 |
<DD><DL> |
| 259 |
<DT><B>Parameters:</B><DD><CODE>object</CODE> - is the key or data object.<DD><CODE>output</CODE> - is the tuple entry to which the key or data should be |
| 260 |
written.</DL> |
| 261 |
</DD> |
| 262 |
</DL> |
| 263 |
|
| 264 |
<HR> |
| 265 |
|
| 266 |
|
| 267 |
|
| 268 |
<A NAME="navbar_bottom"></A> |
| 269 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 270 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 271 |
<TR> |
| 272 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 273 |
<A NAME="navbar_bottom_firstrow"></A> |
| 274 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 275 |
<TR ALIGN="center" VALIGN="top"> |
| 276 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 277 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 278 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 279 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TupleMarshalledBinding.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 280 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 281 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 282 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 283 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 284 |
</TR> |
| 285 |
</TABLE> |
| 286 |
</TD> |
| 287 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 288 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 289 |
</TD> |
| 290 |
</TR> |
| 291 |
|
| 292 |
<TR> |
| 293 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 294 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleInputBinding.html" title="class in com.sleepycat.bind.tuple"><B>PREV CLASS</B></A> |
| 295 |
<A HREF="../../../../com/sleepycat/bind/tuple/TupleOutput.html" title="class in com.sleepycat.bind.tuple"><B>NEXT CLASS</B></A></FONT></TD> |
| 296 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 297 |
<A HREF="../../../../index.html?com/sleepycat/bind/tuple/TupleMarshalledBinding.html" target="_top"><B>FRAMES</B></A> |
| 298 |
<A HREF="TupleMarshalledBinding.html" target="_top"><B>NO FRAMES</B></A> |
| 299 |
<SCRIPT type="text/javascript"> |
| 300 |
<!-- |
| 301 |
if(window==top) { |
| 302 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 303 |
} |
| 304 |
//--> |
| 305 |
</SCRIPT> |
| 306 |
<NOSCRIPT> |
| 307 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 308 |
</NOSCRIPT> |
| 309 |
|
| 310 |
|
| 311 |
</FONT></TD> |
| 312 |
</TR> |
| 313 |
<TR> |
| 314 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 315 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 316 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 317 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 318 |
</TR> |
| 319 |
</TABLE> |
| 320 |
<A NAME="skip-navbar_bottom"></A> |
| 321 |
|
| 322 |
|
| 323 |
<HR> |
| 324 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 325 |
</BODY> |
| 326 |
</HTML> |