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 Stringmarshal(InetAddress inetAddr)InetAddressunmarshal(String ipAddr)
-
-
-
Method Detail
-
marshal
public String marshal(InetAddress inetAddr) throws Exception
- Specified by:
marshalin classXmlAdapter<String,InetAddress>- Throws:
Exception
-
unmarshal
public InetAddress unmarshal(String ipAddr) throws Exception
- Specified by:
unmarshalin classXmlAdapter<String,InetAddress>- Throws:
Exception
-
-