com.caucho.hessian.io
Class ByteArraySerializer

java.lang.Object
  extended by com.caucho.hessian.io.AbstractSerializer
      extended by com.caucho.hessian.io.ByteArraySerializer
All Implemented Interfaces:
ObjectSerializer, Serializer

public class ByteArraySerializer
extends AbstractSerializer
implements ObjectSerializer

Serializing an object for known object types.


Field Summary
static ByteArraySerializer SER
           
 
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
log, NULL
 
Method Summary
 Serializer getObjectSerializer()
           
 void writeObject(java.lang.Object obj, AbstractHessianOutput out)
           
 
Methods inherited from class com.caucho.hessian.io.AbstractSerializer
getClass, writeDefinition20, writeInstance, writeObject10, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SER

public static final ByteArraySerializer SER
Method Detail

getObjectSerializer

public Serializer getObjectSerializer()
Specified by:
getObjectSerializer in interface ObjectSerializer

writeObject

public void writeObject(java.lang.Object obj,
                        AbstractHessianOutput out)
                 throws java.io.IOException
Specified by:
writeObject in interface Serializer
Overrides:
writeObject in class AbstractSerializer
Throws:
java.io.IOException