com.ibm.websphere.rpcadapter.converters.util
Class Date

java.lang.Object
  extended by com.ibm.websphere.rpcadapter.converters.util.Date
All Implemented Interfaces:
IConverter

public class Date
extends java.lang.Object
implements IConverter

Custom Converter for java.util.Date


Constructor Summary
Date()
           
 
Method Summary
 java.lang.Object toJson(java.lang.Object obj)
          Convert Java object to a JSON representation.
 java.lang.Object toObject(java.lang.Object data)
          Convert JSON representation to a Java object.
 java.lang.String toXml(java.lang.Object obj)
          Convert Java object to xml representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Date

public Date()
Method Detail

toJson

public java.lang.Object toJson(java.lang.Object obj)
Description copied from interface: IConverter
Convert Java object to a JSON representation.

Specified by:
toJson in interface IConverter

toObject

public java.lang.Object toObject(java.lang.Object data)
Description copied from interface: IConverter
Convert JSON representation to a Java object.

Specified by:
toObject in interface IConverter

toXml

public java.lang.String toXml(java.lang.Object obj)
Convert Java object to xml representation.

Specified by:
toXml in interface IConverter
Parameters:
obj -
Returns: