db4o 8.0

com.db4o.marshall
Interface ReadContext

All Superinterfaces:
Context, ReadBuffer
All Known Subinterfaces:
ReferenceActivationContext

public interface ReadContext
extends Context, ReadBuffer

this interface is passed to internal class 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
 

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 8.0

Copyright 2009 Versant Corporation. All rights reserved.