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

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

public class XsdTime2CalendarAdapter
extends XmlAdapter<String,Calendar>

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


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

XsdTime2CalendarAdapter

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