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

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

public class XsdInt2IntegerAdapter
extends XmlAdapter<String,Integer>

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


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

Constructor Detail

XsdInt2IntegerAdapter

public XsdInt2IntegerAdapter()
Method Detail

unmarshal

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

marshal

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


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