Package org.opennms.netmgt.poller
Class PollStatusPropertyXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,java.util.Map<java.lang.String,java.lang.Number>>
-
- org.opennms.netmgt.poller.PollStatusPropertyXmlAdapter
-
public class PollStatusPropertyXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,java.util.Map<java.lang.String,java.lang.Number>>
Used to marshal/unmarshal the property map while preserving the ordering.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description PollStatusPropertyXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PollStatusProperties
marshal(java.util.Map<java.lang.String,java.lang.Number> map)
java.util.Map<java.lang.String,java.lang.Number>
unmarshal(PollStatusProperties props)
-
-
-
Method Detail
-
unmarshal
public java.util.Map<java.lang.String,java.lang.Number> unmarshal(PollStatusProperties props) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,java.util.Map<java.lang.String,java.lang.Number>>
- Throws:
java.lang.Exception
-
marshal
public PollStatusProperties marshal(java.util.Map<java.lang.String,java.lang.Number> map) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<PollStatusProperties,java.util.Map<java.lang.String,java.lang.Number>>
- Throws:
java.lang.Exception
-
-