Package com.db4o.internal.marshall
Class UnmarshallingContext
- java.lang.Object
- 
- com.db4o.internal.AbstractBufferContext
- 
- com.db4o.internal.marshall.AbstractReadContext
- 
- com.db4o.internal.marshall.ObjectHeaderContext
- 
- com.db4o.internal.marshall.ObjectReferenceContext
- 
- com.db4o.internal.marshall.UnmarshallingContext
 
 
 
 
 
- 
- All Implemented Interfaces:
- AspectVersionContext,- HandlerVersionContext,- InternalReadContext,- MarshallingInfo,- ObjectIdContext,- BufferContext,- Context,- ReadBuffer,- ReadContext,- ReferenceActivationContext
 
 public class UnmarshallingContext extends ObjectReferenceContext implements HandlerVersionContext, ReferenceActivationContext Wraps the low-level details of reading a Buffer, which in turn is a glorified byte array.
- 
- 
Field Summary- 
Fields inherited from class com.db4o.internal.marshall.ObjectReferenceContext_reference
 - 
Fields inherited from class com.db4o.internal.marshall.ObjectHeaderContext_objectHeader
 - 
Fields inherited from class com.db4o.internal.marshall.AbstractReadContext_activationDepth
 
- 
 - 
Constructor SummaryConstructors Constructor Description UnmarshallingContext(Transaction transaction, ByteArrayBuffer buffer, ObjectReference ref, int addToIDTree, boolean checkIDTree)UnmarshallingContext(Transaction transaction, ObjectReference ref, int addToIDTree, boolean checkIDTree)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Config4ClassclassConfig()protected booleanpeekPersisted()java.lang.ObjectpersistentObject()voidpersistentObject(java.lang.Object obj)java.lang.Objectread()java.lang.ObjectreadFieldValue(FieldMetadata field)java.lang.ObjectreadFullyActivatedObjectForKeys(TypeHandler4 handler)voidsetObjectWeak(java.lang.Object obj)voidsetStateClean()- 
Methods inherited from class com.db4o.internal.marshall.ObjectReferenceContextbyteArrayBuffer, classMetadata, objectId, objectReference
 - 
Methods inherited from class com.db4o.internal.marshall.ObjectHeaderContextbeginSlot, declaredAspectCount, declaredAspectCount, handlerVersion, headerAttributes, isNull, restoreState, saveState
 - 
Methods inherited from class com.db4o.internal.marshall.AbstractReadContextactivationDepth, activationDepth, lastReferenceReadWasReallyNull, notifyNullReferenceSkipped, read, readAtCurrentSeekPosition, readIndirectedBuffer, readObject, readObject
 - 
Methods inherited from class com.db4o.internal.AbstractBufferContextbuffer, buffer, container, isLegacyHandlerVersion, objectContainer, offset, readBitMap, readByte, readBytes, readInt, readLong, seek, slotFormat, transaction
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.db4o.marshall.ContextobjectContainer, transaction
 - 
Methods inherited from interface com.db4o.internal.marshall.HandlerVersionContextslotFormat
 - 
Methods inherited from interface com.db4o.internal.marshall.InternalReadContextbuffer, buffer, container, handlerVersion, notifyNullReferenceSkipped, offset, read, readAtCurrentSeekPosition, readIndirectedBuffer, seek
 - 
Methods inherited from interface com.db4o.internal.marshall.MarshallingInfobuffer
 - 
Methods inherited from interface com.db4o.marshall.ReadBufferreadBitMap, readByte, readBytes, readInt, readLong
 - 
Methods inherited from interface com.db4o.marshall.ReadContextreadObject, readObject
 
- 
 
- 
- 
- 
Constructor Detail- 
UnmarshallingContextpublic UnmarshallingContext(Transaction transaction, ByteArrayBuffer buffer, ObjectReference ref, int addToIDTree, boolean checkIDTree) 
 - 
UnmarshallingContextpublic UnmarshallingContext(Transaction transaction, ObjectReference ref, int addToIDTree, boolean checkIDTree) 
 
- 
 - 
Method Detail- 
readpublic java.lang.Object read() 
 - 
readFullyActivatedObjectForKeyspublic java.lang.Object readFullyActivatedObjectForKeys(TypeHandler4 handler) 
 - 
readFieldValuepublic java.lang.Object readFieldValue(FieldMetadata field) 
 - 
setStateCleanpublic void setStateClean() 
 - 
persistentObjectpublic java.lang.Object persistentObject() - Specified by:
- persistentObjectin interface- ReferenceActivationContext
 
 - 
setObjectWeakpublic void setObjectWeak(java.lang.Object obj) 
 - 
peekPersistedprotected boolean peekPersisted() - Overrides:
- peekPersistedin class- AbstractReadContext
 
 - 
classConfigpublic Config4Class classConfig() 
 - 
persistentObjectpublic void persistentObject(java.lang.Object obj) 
 
- 
 
-