/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2000, 2010 Oracle and/or its affiliates. All rights reserved.
*
*/
package com.sleepycat.bind.tuple;
import com.sleepycat.util.RuntimeExceptionWrapper;
/**
* A concrete TupleBinding
that delegates to the
* MarshalledTupleEntry
interface of the data or key object.
*
*
This class works by calling the methods of the {@link * MarshalledTupleEntry} interface, which must be implemented by the key or * data class, to convert between the key or data entry and the object.
* * @author Mark Hayes */ public class TupleMarshalledBindingThe given class is used to instantiate key or data objects using * {@link Class#forName}, and therefore must be a public class and have a * public no-arguments constructor. It must also implement the {@link * MarshalledTupleEntry} interface.
* * @param cls is the class of the key or data objects. */ public TupleMarshalledBinding(Class