Package org.opennms.netmgt.snmp
Class SnmpInstIdXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,SnmpInstId>
-
- org.opennms.netmgt.snmp.SnmpInstIdXmlAdapter
-
public class SnmpInstIdXmlAdapter extends XmlAdapter<String,SnmpInstId>
-
-
Constructor Summary
Constructors Constructor Description SnmpInstIdXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(SnmpInstId snmpInstId)
SnmpInstId
unmarshal(String instance)
-
-
-
Method Detail
-
marshal
public String marshal(SnmpInstId snmpInstId) throws Exception
- Specified by:
marshal
in classXmlAdapter<String,SnmpInstId>
- Throws:
Exception
-
unmarshal
public SnmpInstId unmarshal(String instance) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<String,SnmpInstId>
- Throws:
Exception
-
-