org.kuali.rice.core.util.jaxb
Class JaxbDateAdapter

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

public class JaxbDateAdapter
extends XmlAdapter<String,Date>

Marshall/unmarshall java.util.Date

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)

Constructor Summary
JaxbDateAdapter()
           
 
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

JaxbDateAdapter

public JaxbDateAdapter()
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 © 2005-2011 The Kuali Foundation. All Rights Reserved.