Class DateCodec


  • public class DateCodec
    extends java.lang.Object
    Taken from axis:

    The DateSerializer deserializes a Date. Much of the work is done in the base class.

    Author:
    Sam Ruby (rubys@us.ibm.com) Modified for JAX-RPC @author Rich Scheuerle (scheu@us.ibm.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      DateCodec()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Calendar deserialize​(java.lang.String source)
      The simple deserializer provides most of the stuff.
      java.lang.String getValueAsString​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateCodec

        public DateCodec()
    • Method Detail

      • getValueAsString

        public java.lang.String getValueAsString​(java.lang.Object value)
      • deserialize

        public java.util.Calendar deserialize​(java.lang.String source)
        The simple deserializer provides most of the stuff. We just need to override makeValue().
        Parameters:
        source - source
        Returns:
        calendar