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

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

public class XsdDateTime2CalendarAdapter
extends XmlAdapter<String,Calendar>

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


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

XsdDateTime2CalendarAdapter

public XsdDateTime2CalendarAdapter()
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.