com.caucho.hessian.io
Class CollectionSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
com.caucho.hessian.io.CollectionSerializer
- All Implemented Interfaces:
- Serializer
public class CollectionSerializer
- extends AbstractSerializer
Serializing a JDK 1.2 Collection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_sendJavaType
private boolean _sendJavaType
CollectionSerializer
public CollectionSerializer()
setSendJavaType
public void setSendJavaType(boolean sendJavaType)
- Set true if the java type of the collection should be sent.
getSendJavaType
public boolean getSendJavaType()
- Return true if the java type of the collection should be sent.
writeObject
public void writeObject(java.lang.Object obj,
AbstractHessianOutput out)
throws java.io.IOException
- Specified by:
writeObject
in interface Serializer
- Specified by:
writeObject
in class AbstractSerializer
- Throws:
java.io.IOException