@NotStorableClass public abstract class AbstractObjectOutputGenericNotStatic extends AbstractObjectOutputGeneric
objectIOOutputStream
classInfoFactory, helperBinaryConversion, helperReflect, logger, NO_SOONS, objectIOManager, proxyManager2
Constructor and Description |
---|
AbstractObjectOutputGenericNotStatic(IObjectIOManagerForObjectIO objectIOManager,
ClassInfoFactory classInfoFactory,
IProxyManagerForObjectIO proxyManager2,
HelperBinaryConversion helperBinaryConversion) |
Modifier and Type | Method and Description |
---|---|
protected int |
numberOfByteForDataGeneric(ObjectAndPersistInfo objectAndPersistInfo) |
void |
prepareWriteForSerializableWriteFields(ObjectAndPersistInfo objectAndItsClassInfo,
ObjectClassInfoAndDeclared[] currentValue)
prepare possible write of "serializable" object for write fields
serialization
|
protected void |
prepareWriteGenericAllDeclaredFields(ObjectAndPersistInfo objectAndPersistInfo)
prepare possible "generic" write of all declared fields
|
protected void |
prepareWriteGenericForFields(ObjectAndPersistInfo objectAndPersistInfo,
ClassInfo classInfo,
FieldInfo[] fields) |
protected ObjectClassInfoAndDeclared[] |
writeBodyAndItsHeader(byte[] binary,
int bodyBeginOffset,
ObjectAndPersistInfo object,
boolean updateOriginalValue) |
numberOfByteForDataSerializable, prepareWriteExternalizable, prepareWriteForSerializableDefaultWrite, prepareWriteSerializable, setCurrentValue, setCurrentValueAndComputeBinarySize, setReferenceChangeListForNewObject, writeBodyImpl, writeBodySerializable
byteSize, byteSizeForFieldOrElement, computeReferenceChangeList, currentValuesToReferencedSoon, getObjectIOManager, isGenericValueChanged, numberOfByteForData, setGarbageManagement, setReferenceChangeListForGeneric, willNotBeWrote, willNotBeWroteImpl, writeBody, writeCurrentValue, writeSignature, writeStaticFieldSignature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValueChanged, prepareWrite
public AbstractObjectOutputGenericNotStatic(IObjectIOManagerForObjectIO objectIOManager, ClassInfoFactory classInfoFactory, IProxyManagerForObjectIO proxyManager2, HelperBinaryConversion helperBinaryConversion)
protected int numberOfByteForDataGeneric(ObjectAndPersistInfo objectAndPersistInfo) throws ObjectIOException
ObjectIOException
public void prepareWriteForSerializableWriteFields(ObjectAndPersistInfo objectAndItsClassInfo, ObjectClassInfoAndDeclared[] currentValue) throws ObjectIOException
objectAndItsClassInfo
- currentValue
- ObjectIOException
protected void prepareWriteGenericAllDeclaredFields(ObjectAndPersistInfo objectAndPersistInfo) throws ObjectIOException, ObjectIOInvalidClassException, ObjectIONotSerializableException, ObjectIODataCorruptedException
objectAndPersistInfo
- ObjectIOException
ObjectIOInvalidClassException
ObjectIONotSerializableException
ObjectIODataCorruptedException
protected void prepareWriteGenericForFields(ObjectAndPersistInfo objectAndPersistInfo, ClassInfo classInfo, FieldInfo[] fields) throws ObjectIOException, ObjectIODataCorruptedException
prepareWriteGenericForFields
in class AbstractObjectOutputGeneric
ObjectIOException
ObjectIODataCorruptedException
protected ObjectClassInfoAndDeclared[] writeBodyAndItsHeader(byte[] binary, int bodyBeginOffset, ObjectAndPersistInfo object, boolean updateOriginalValue) throws ObjectIOException, ObjectIODataCorruptedException
writeBodyAndItsHeader
in class AbstractObjectOutput
binary
- binary data of data record associated to objectbodyBeginOffset
- offset in binary data of begin of bodyobject
- the object which for state is to writeupdateOriginalValue
- true if set original value to current value ( true only when
serialization is done to update heap file )ObjectIOException
ObjectIODataCorruptedException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.