| 
 | Berkeley DB version 4.2.52 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A marshalling interface implemented by key, value or entity classes that
 have tuple data.  Key classes implement this interface to marshal their key
 data.  Value or entity classes implement this interface to marshal their
 value data.  Implementations of this interface must have a public no
 arguments contructor so that they can be instantiated by a binding,
 prior to calling the unmarshalData(com.sleepycat.bdb.bind.tuple.TupleInput) method.
 
Note that implementing this interface is not necessary when the data is a
 Java simple type, for example: String, Integer, etc. These types can be
 used with built-in bindings returned by TupleBinding.getPrimitiveBinding(java.lang.Class, com.sleepycat.bdb.bind.tuple.TupleFormat).
TupleTupleMarshalledBinding, 
TupleTupleMarshalledKeyExtractor| Method Summary | |
|  void | marshalData(TupleOutput dataOutput)Construct the key or value tuple data from the key or value object. | 
|  void | unmarshalData(TupleInput dataInput)Construct the key or value object from the key or value tuple data. | 
| Method Detail | 
public void marshalData(TupleOutput dataOutput)
                 throws IOException
dataOutput - is the output tuple.
IOException
public void unmarshalData(TupleInput dataInput)
                   throws IOException
dataInput - is the input tuple.
IOException| 
 | Berkeley DB version 4.2.52 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||