public class SnmpInterfaceIdAdapter extends XmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>
| Constructor and Description |
|---|
SnmpInterfaceIdAdapter() |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Integer> |
marshal(Set<OnmsIpInterface> ifaces) |
Set<OnmsIpInterface> |
unmarshal(ArrayList<Integer> ids) |
public ArrayList<Integer> marshal(Set<OnmsIpInterface> ifaces) throws Exception
marshal in class XmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>Exceptionpublic Set<OnmsIpInterface> unmarshal(ArrayList<Integer> ids) throws Exception
unmarshal in class XmlAdapter<ArrayList<Integer>,Set<OnmsIpInterface>>ExceptionCopyright © 2020. All rights reserved.