com.exadel.flamingo.javafx.hessian.io
Class SqlDateDeserializer

java.lang.Object
  extended by com.caucho.hessian.io.AbstractDeserializer
      extended by com.caucho.hessian.io.SqlDateDeserializer
          extended by com.exadel.flamingo.javafx.hessian.io.SqlDateDeserializer
All Implemented Interfaces:
com.caucho.hessian.io.Deserializer

public class SqlDateDeserializer
extends com.caucho.hessian.io.SqlDateDeserializer

Deserializer for sql date. fix for bug#0002326 in hessian. This is bug isn't fixed in 3.1.5.

Author:
apleskatsevich

Constructor Summary
SqlDateDeserializer(java.lang.Class cl)
          Constructor.
 
Method Summary
 java.lang.Object readObject(com.caucho.hessian.io.AbstractHessianInput in, java.lang.String[] fieldNames)
          Adds date to refs array, because serilizer do this too.
 
Methods inherited from class com.caucho.hessian.io.SqlDateDeserializer
getType, readMap
 
Methods inherited from class com.caucho.hessian.io.AbstractDeserializer
codeName, error, readLengthList, readList, readObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlDateDeserializer

public SqlDateDeserializer(java.lang.Class cl)
                    throws java.lang.NoSuchMethodException
Constructor.

Parameters:
cl - Class
Throws:
java.lang.NoSuchMethodException - If error occur
Method Detail

readObject

public java.lang.Object readObject(com.caucho.hessian.io.AbstractHessianInput in,
                                   java.lang.String[] fieldNames)
                            throws java.io.IOException
Adds date to refs array, because serilizer do this too.

Specified by:
readObject in interface com.caucho.hessian.io.Deserializer
Overrides:
readObject in class com.caucho.hessian.io.SqlDateDeserializer
Parameters:
in - in
fieldNames - fieldNames
Returns:
result
Throws:
java.io.IOException - if error occur


Copyright © 2008 Exadel, Inc.. All Rights Reserved.