com.caucho.hessian.io
Class AnnotationSerializer

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

public class AnnotationSerializer
extends AbstractSerializer

Serializing a Java annotation


Field Summary
 
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
NULL
 
Constructor Summary
AnnotationSerializer(java.lang.Class annType)
           
 
Method Summary
 void writeInstance(java.lang.Object obj, AbstractHessianOutput out)
           
 void writeObject(java.lang.Object obj, AbstractHessianOutput out)
           
protected  void writeObject10(java.lang.Object obj, AbstractHessianOutput out)
           
 
Methods inherited from class com.caucho.hessian.io.AbstractSerializer
getClass, writeDefinition20, writeReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationSerializer

public AnnotationSerializer(java.lang.Class annType)
Method Detail

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

writeObject10

protected void writeObject10(java.lang.Object obj,
                             AbstractHessianOutput out)
                      throws java.io.IOException
Overrides:
writeObject10 in class AbstractSerializer
Throws:
java.io.IOException

writeInstance

public void writeInstance(java.lang.Object obj,
                          AbstractHessianOutput out)
                   throws java.io.IOException
Overrides:
writeInstance in class AbstractSerializer
Throws:
java.io.IOException