public class InetAddrXmlAdapter extends XmlAdapter<String,InetAddress>
Constructor and Description |
---|
InetAddrXmlAdapter() |
Modifier and Type | Method and Description |
---|---|
String |
marshal(InetAddress inetAddr) |
InetAddress |
unmarshal(String ipAddr) |
public String marshal(InetAddress inetAddr) throws Exception
marshal
in class XmlAdapter<String,InetAddress>
Exception
public InetAddress unmarshal(String ipAddr) throws Exception
unmarshal
in class XmlAdapter<String,InetAddress>
Exception
Copyright © 2021. All rights reserved.