com.agfa.hap.sdo.implementation
Class BinarySerializer

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

public abstract class BinarySerializer
extends java.lang.Object
implements ExternalizableDelegator.Resolvable

See Also:
Serialized Form

Field Summary
protected  PartialDataObject dataObject
           
 
Constructor Summary
BinarySerializer()
           
BinarySerializer(PartialDataObject dataObject)
           
 
Method Summary
protected  PartialDataObject create(java.lang.String uri, java.lang.String type)
           
protected  PartialDataObject read(java.io.ObjectInput in)
           
protected abstract  PartialDataObject readChildDataObject(java.io.ObjectInput in, Property prop, PartialDataObject parent)
           
 void readExternal(java.io.ObjectInput in)
           
 java.lang.Object readResolve()
           
protected  void write(java.io.ObjectOutput out, PartialDataObject dataObject)
           
protected  void write(java.io.ObjectOutput out, Property prop, java.lang.Object value)
           
protected abstract  void writeChildDataObject(java.io.ObjectOutput out, Property prop, PartialDataObject child)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataObject

protected transient PartialDataObject dataObject
Constructor Detail

BinarySerializer

public BinarySerializer()

BinarySerializer

public BinarySerializer(PartialDataObject dataObject)
Method Detail

readResolve

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

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

create

protected PartialDataObject create(java.lang.String uri,
                                   java.lang.String type)

read

protected PartialDataObject read(java.io.ObjectInput in)
                          throws java.io.IOException
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

write

protected void write(java.io.ObjectOutput out,
                     PartialDataObject dataObject)
              throws java.io.IOException
Throws:
java.io.IOException

write

protected void write(java.io.ObjectOutput out,
                     Property prop,
                     java.lang.Object value)
              throws java.io.IOException
Throws:
java.io.IOException

writeChildDataObject

protected abstract void writeChildDataObject(java.io.ObjectOutput out,
                                             Property prop,
                                             PartialDataObject child)
                                      throws java.io.IOException
Throws:
java.io.IOException

readChildDataObject

protected abstract PartialDataObject readChildDataObject(java.io.ObjectInput in,
                                                         Property prop,
                                                         PartialDataObject parent)
                                                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007. All Rights Reserved.