org.kuali.rice.core.jaxb
Class SqlTimestampAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Timestamp>
      extended by org.kuali.rice.core.jaxb.SqlTimestampAdapter

public class SqlTimestampAdapter
extends XmlAdapter<String,Timestamp>

This class allows for a Timestamp instance to be passed across the wire by jaxws enabled services

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
SqlTimestampAdapter()
           
 
Method Summary
 String marshal(Timestamp timestamp)
          This overridden method ...
 Timestamp unmarshal(String timestampStr)
          This overridden method ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlTimestampAdapter

public SqlTimestampAdapter()
Method Detail

marshal

public String marshal(Timestamp timestamp)
               throws Exception
This overridden method ...

Specified by:
marshal in class XmlAdapter<String,Timestamp>
Throws:
Exception
See Also:
XmlAdapter.marshal(java.lang.Object)

unmarshal

public Timestamp unmarshal(String timestampStr)
                    throws Exception
This overridden method ...

Specified by:
unmarshal in class XmlAdapter<String,Timestamp>
Throws:
Exception
See Also:
XmlAdapter.unmarshal(java.lang.Object)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.