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>Exceptionpublic InetAddress unmarshal(String ipAddr) throws Exception
unmarshal in class XmlAdapter<String,InetAddress>ExceptionCopyright © 2022. All rights reserved.