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