Package com.caucho.hessian.io
Class CollectionSerializer
java.lang.Object
com.caucho.hessian.io.AbstractSerializer
com.caucho.hessian.io.CollectionSerializer
- All Implemented Interfaces:
Serializer
Serializing a JDK 1.2 Collection.
-
Field Summary
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
log, NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if the java type of the collection should be sent.voidsetSendJavaType(boolean sendJavaType) Set true if the java type of the collection should be sent.voidwriteObject(Object obj, AbstractHessianOutput out) Methods inherited from class com.caucho.hessian.io.AbstractSerializer
getClass, writeDefinition20, writeInstance, writeObject10, writeReplace
-
Constructor Details
-
CollectionSerializer
public CollectionSerializer()
-
-
Method Details
-
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
- Specified by:
writeObjectin interfaceSerializer- Overrides:
writeObjectin classAbstractSerializer- Throws:
IOException
-