Package org.opennms.netmgt.snmp
Class InetAddrXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,InetAddress>
-
- org.opennms.netmgt.snmp.InetAddrXmlAdapter
-
public class InetAddrXmlAdapter extends XmlAdapter<String,InetAddress>
InetAddresssXmlAdapter- Version:
- $Id: $
- Author:
- brozow
-
-
Constructor Summary
Constructors Constructor Description InetAddrXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(InetAddress inetAddr)
InetAddress
unmarshal(String ipAddr)
-
-
-
Method Detail
-
marshal
public String marshal(InetAddress inetAddr) throws Exception
- Specified by:
marshal
in classXmlAdapter<String,InetAddress>
- Throws:
Exception
-
unmarshal
public InetAddress unmarshal(String ipAddr) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<String,InetAddress>
- Throws:
Exception
-
-