com.quartzdesk.service.api.jaxb.adapter
Class XsdDate2CalendarAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,Calendar>
      extended by com.quartzdesk.service.api.jaxb.adapter.XsdDate2CalendarAdapter

public class XsdDate2CalendarAdapter
extends XmlAdapter<String,Calendar>

Implementation of the JAXB XmlAdapter that maps the xsd:date onto the Calendar type and vice-versa.


Constructor Summary
XsdDate2CalendarAdapter()
           
 
Method Summary
 String marshal(Calendar value)
           
 Calendar unmarshal(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsdDate2CalendarAdapter

public XsdDate2CalendarAdapter()
Method Detail

unmarshal

public Calendar unmarshal(String value)
Specified by:
unmarshal in class XmlAdapter<String,Calendar>

marshal

public String marshal(Calendar value)
Specified by:
marshal in class XmlAdapter<String,Calendar>


Copyright © 2013–2017 QuartzDesk.com. All rights reserved.