db4o 7.4

com.db4o.marshall
Interface ReadContext

All Superinterfaces:
Context, ReadBuffer

public interface ReadContext
extends Context, ReadBuffer

this interface is passed to internal class com.db4o.internal.TypeHandler4 when instantiating objects.


Method Summary
 java.lang.Object readObject()
          Interprets the current position in the context as an ID and returns the object with this ID.
 java.lang.Object readObject(TypeHandler4 handler)
          reads sub-objects, in cases where the TypeHandler4 is known.
 
Methods inherited from interface com.db4o.marshall.Context
objectContainer, transaction
 
Methods inherited from interface com.db4o.marshall.ReadBuffer
offset, readBitMap, readByte, readBytes, readInt, readLong, seek, seekCurrentInt
 

Method Detail

readObject

java.lang.Object readObject()
Interprets the current position in the context as an ID and returns the object with this ID.

Returns:
the object

readObject

java.lang.Object readObject(TypeHandler4 handler)
reads sub-objects, in cases where the TypeHandler4 is known.


db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.