Package org.opennms.netmgt.poller
Class DoubleXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
-
- org.opennms.netmgt.poller.DoubleXmlAdapter
-
public class DoubleXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
-
-
Constructor Summary
Constructors Constructor Description DoubleXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.lang.Double v)
java.lang.Double
unmarshal(java.lang.String v)
-
-
-
Method Detail
-
unmarshal
public java.lang.Double unmarshal(java.lang.String v) throws java.lang.Exception
- Specified by:
unmarshal
in 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:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
- Throws:
java.lang.Exception
-
-