Package org.opennms.netmgt.rrd.model
Class DoubleAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
-
- org.opennms.netmgt.rrd.model.DoubleAdapter
-
public class DoubleAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
The Class DoubleAdapter.The null representation of some double values inside the XML version of an RRD is expressed as 'U'
- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description DoubleAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.lang.Double value)
java.lang.Double
unmarshal(java.lang.String value)
-
-
-
Method Detail
-
marshal
public java.lang.String marshal(java.lang.Double value) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
- Throws:
java.lang.Exception
-
unmarshal
public java.lang.Double unmarshal(java.lang.String value) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.lang.Double>
- Throws:
java.lang.Exception
-
-