com.ibm.websphere.rpcadapter.converters.util

Class Date

  1. java.lang.Object
  2. extended bycom.ibm.websphere.rpcadapter.converters.util.Date
All implemented interfaces:
IConverter

  1. public class Date
  2. extends java.lang.Object
  3. implements IConverter
Custom Converter for java.util.Date

Constructor Summary

Constructor and Description
Date()

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
toJson(java.lang.Object obj)
  1. java.lang.Object
toObject(java.lang.Object data)
  1. 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

  1. public Date()

Method Detail

toJson

  1. 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

  1. 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

  1. public java.lang.String toXml(java.lang.Object obj)
Convert Java object to xml representation.
Specified by:
toXml in interface IConverter
Parameters:
obj -
Returns: