Class BooleanAdapter
- java.lang.Object
-
- jakarta.xml.bind.annotation.adapters.XmlAdapter<String,Boolean>
-
- org.jboss.resteasy.plugins.providers.atom.app.BooleanAdapter
-
public class BooleanAdapter extends XmlAdapter<String,Boolean>
-
-
Constructor Summary
Constructors Constructor Description BooleanAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmarshal(Boolean c)Convert a bound type to a value type.Booleanunmarshal(String yesno)Convert a value type to a bound type.
-
-
-
Method Detail
-
unmarshal
public Boolean unmarshal(String yesno)
Description copied from class:XmlAdapterConvert a value type to a bound type.- Specified by:
unmarshalin classXmlAdapter<String,Boolean>- Parameters:
yesno- The value to be converted. Can be null.
-
marshal
public String marshal(Boolean c)
Description copied from class:XmlAdapterConvert a bound type to a value type.- Specified by:
marshalin classXmlAdapter<String,Boolean>- Parameters:
c- The value to be convereted. Can be null.
-
-