public class ZeroOneBooleanAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
Serializes boolean as 0 or 1.
- Since:
- 2.24
- Author:
- Michiel Meeuwissen
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ZeroOneBooleanAdapter
public ZeroOneBooleanAdapter()
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
-
marshal
- Specified by:
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>