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

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

public class XsdBoolean2BooleanAdapter
extends XmlAdapter<String,Boolean>

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


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

Constructor Detail

XsdBoolean2BooleanAdapter

public XsdBoolean2BooleanAdapter()
Method Detail

unmarshal

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

marshal

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


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