Package org.opennms.core.xml
Class YesNoAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
-
- org.opennms.core.xml.YesNoAdapter
-
public class YesNoAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>
-
-
Constructor Summary
Constructors Constructor Description YesNoAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringmarshal(java.lang.Boolean v)java.lang.Booleanunmarshal(java.lang.String v)
-
-
-
Method Detail
-
unmarshal
public java.lang.Boolean unmarshal(java.lang.String v) throws java.lang.Exception- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(java.lang.Boolean v) throws java.lang.Exception- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Boolean>- Throws:
java.lang.Exception
-
-