com.agfa.hap.sdo.implementation
Class ContainmentSerializer

java.lang.Object
  extended by com.agfa.hap.sdo.implementation.BinarySerializer
      extended by com.agfa.hap.sdo.implementation.ContainmentSerializer
All Implemented Interfaces:
ExternalizableDelegator.Resolvable, java.io.Externalizable, java.io.Serializable

public class ContainmentSerializer
extends BinarySerializer

BinarySerializer that serializes all instances that it can reach through contained properties (as dictated by the sdo spec).

Author:
AMOCZ
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.agfa.hap.sdo.implementation.BinarySerializer
dataObject
 
Constructor Summary
ContainmentSerializer()
           
ContainmentSerializer(PartialDataObject dataObject)
           
 
Method Summary
protected  PartialDataObject readChildDataObject(java.io.ObjectInput in, Property prop, PartialDataObject parent)
           
 java.lang.Object readResolve()
           
protected  void writeChildDataObject(java.io.ObjectOutput out, Property prop, PartialDataObject child)
           
 
Methods inherited from class com.agfa.hap.sdo.implementation.BinarySerializer
create, read, readExternal, write, write, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainmentSerializer

public ContainmentSerializer()

ContainmentSerializer

public ContainmentSerializer(PartialDataObject dataObject)
Method Detail

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Specified by:
readResolve in interface ExternalizableDelegator.Resolvable
Overrides:
readResolve in class BinarySerializer
Throws:
java.io.ObjectStreamException

writeChildDataObject

protected void writeChildDataObject(java.io.ObjectOutput out,
                                    Property prop,
                                    PartialDataObject child)
                             throws java.io.IOException
Specified by:
writeChildDataObject in class BinarySerializer
Throws:
java.io.IOException

readChildDataObject

protected PartialDataObject readChildDataObject(java.io.ObjectInput in,
                                                Property prop,
                                                PartialDataObject parent)
                                         throws java.io.IOException
Specified by:
readChildDataObject in class BinarySerializer
Throws:
java.io.IOException


Copyright © 2007. All Rights Reserved.