Class JaxbDateAdapter


  • public class JaxbDateAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<String,​Date>
    Marshall/unmarshall java.util.Date
    Author:
    Kuali Rice Team (kuali-rice@googlegroups.com)
    • Constructor Detail

      • JaxbDateAdapter

        public JaxbDateAdapter()
    • Method Detail

      • marshal

        public String marshal​(Date date)
                       throws Exception
        This overridden method ...
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.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 javax.xml.bind.annotation.adapters.XmlAdapter<String,​Date>
        Throws:
        Exception
        See Also:
        XmlAdapter.unmarshal(java.lang.Object)