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

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

public class XsdLong2LongAdapter
extends XmlAdapter<String,Long>

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


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

Constructor Detail

XsdLong2LongAdapter

public XsdLong2LongAdapter()
Method Detail

unmarshal

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

marshal

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


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