public class TrueFalseAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
Constructor and Description |
---|
TrueFalseAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(java.lang.Boolean b) |
java.lang.Boolean |
unmarshal(java.lang.String s) |
public java.lang.Boolean unmarshal(java.lang.String s) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
java.lang.Exception
public java.lang.String marshal(java.lang.Boolean b) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
java.lang.Exception