com.sforce.ws.bind
Class DateCodec

java.lang.Object
  extended by com.sforce.ws.bind.DateCodec

public class DateCodec
extends 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
 Calendar deserialize(String source)
          The simple deserializer provides most of the stuff.
 String getValueAsString(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 String getValueAsString(Object value)

deserialize

public Calendar deserialize(String source)
The simple deserializer provides most of the stuff. We just need to override makeValue().

Parameters:
source - source
Returns:
calendar


Copyright © 2014. All Rights Reserved.