com.caucho.hessian.io
Class EnumerationSerializer

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

public class EnumerationSerializer
extends AbstractSerializer

Serializing a JDK 1.2 Enumeration.


Field Summary
 
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
log, NULL
 
Constructor Summary
EnumerationSerializer()
           
 
Method Summary
static EnumerationSerializer create()
           
 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
 

Constructor Detail

EnumerationSerializer

public EnumerationSerializer()
Method Detail

create

public static EnumerationSerializer create()

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