com.ibm.websphere.rpcadapter.converters.sql

Class Time

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

  1. public class Time
  2. extends java.lang.Object
  3. implements IConverter
Custom Converter for java.sql.Time

Constructor Summary

Constructor and Description
Time()

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 json)
  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

Time

  1. public Time()

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 json)
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: