public class ZeroOneBooleanAdapter extends XmlAdapter<String,Boolean>
Constructor and Description |
---|
ZeroOneBooleanAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(Boolean v)
Convert a bound type to a value type.
|
Boolean |
unmarshal(String v)
Convert a value type to a bound type.
|
public Boolean unmarshal(String v)
XmlAdapter
unmarshal
in class XmlAdapter<String,Boolean>
v
- The value to be converted. Can be null.public String marshal(Boolean v)
XmlAdapter
marshal
in class XmlAdapter<String,Boolean>
v
- The value to be convereted. Can be null.Copyright © 2017 JBoss by Red Hat. All rights reserved.