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