com.quartzdesk.service.api.jaxb.adapter
Class XsdInt2IntegerAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,Integer>
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XsdInt2IntegerAdapter
public XsdInt2IntegerAdapter()
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.