com.sleepycat.persist.impl
Class ConverterReader

java.lang.Object
  extended by com.sleepycat.persist.impl.ConverterReader
All Implemented Interfaces:
Reader, Serializable

public class ConverterReader
extends Object
implements Reader

Reader for invoking a class Converter mutation.

Author:
Mark Hayes
See Also:
Serialized Form

Constructor Summary
ConverterReader(Converter converter)
           
 
Method Summary
 void initializeReader(Catalog catalog, EntityModel model, int initVersion, Format oldFormat)
           
 Object newInstance(EntityInput input, boolean rawAccess)
           
 Object readObject(Object o, EntityInput input, boolean rawAccess)
           
 void readPriKey(Object o, EntityInput input, boolean rawAccess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterReader

ConverterReader(Converter converter)
Method Detail

initializeReader

public void initializeReader(Catalog catalog,
                             EntityModel model,
                             int initVersion,
                             Format oldFormat)
Specified by:
initializeReader in interface Reader

newInstance

public Object newInstance(EntityInput input,
                          boolean rawAccess)
Specified by:
newInstance in interface Reader

readPriKey

public void readPriKey(Object o,
                       EntityInput input,
                       boolean rawAccess)
Specified by:
readPriKey in interface Reader

readObject

public Object readObject(Object o,
                         EntityInput input,
                         boolean rawAccess)
Specified by:
readObject in interface Reader


Copyright (c) 2004-2010 Oracle. All rights reserved.