Package com.db4o.marshall
Interface ReadContext
-
- All Superinterfaces:
Context
,ReadBuffer
- All Known Subinterfaces:
InternalReadContext
,ObjectIdContext
,ReferenceActivationContext
- All Known Implementing Classes:
AbstractReadContext
,CollectIdContext
,DeleteContextImpl
,ObjectHeaderContext
,ObjectIdContextImpl
,ObjectReferenceContext
,QueryingReadContext
,UnmarshallingContext
public interface ReadContext extends Context, ReadBuffer
this interface is passed to internal classTypeHandler4
when instantiating objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 theTypeHandler4
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 theTypeHandler4
is known.
-
-