public class BooleanAdapter extends XmlAdapter<String,Boolean>
public Boolean unmarshal(String yesno)
XmlAdapter
unmarshal
in class XmlAdapter<String,Boolean>
yesno
- The value to be converted. Can be null.public String marshal(Boolean c)
XmlAdapter
marshal
in class XmlAdapter<String,Boolean>
c
- The value to be convereted. Can be null.Copyright © 2018 JBoss by Red Hat. All rights reserved.