org.kuali.rice.core.jaxb
Class SqlDateAdapter

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

public class SqlDateAdapter
extends XmlAdapter<String,Date>

Marshall/unmarshall java.util.Date

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

Constructor Summary
SqlDateAdapter()
           
 
Method Summary
 String marshal(Date date)
          This overridden method ...
 Date unmarshal(String dateStr)
          This overridden method ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlDateAdapter

public SqlDateAdapter()
Method Detail

marshal

public String marshal(Date date)
               throws Exception
This overridden method ...

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

unmarshal

public Date unmarshal(String dateStr)
               throws Exception
This overridden method ...

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


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