com.sforce.ws.bind
Class DateCodec

java.lang.Object
  extended by com.sforce.ws.bind.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
DateCodec()
           
 
Method Summary
 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


Copyright © 2011. All Rights Reserved.