Package org.opennms.netmgt.xml.bind
Class SetXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<?>,java.util.Set<?>>
-
- org.opennms.netmgt.xml.bind.SetXmlAdapter
-
public class SetXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<?>,java.util.Set<?>>
-
-
Constructor Summary
Constructors Constructor Description SetXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<?>
marshal(java.util.Set<?> v)
java.util.Set<?>
unmarshal(java.util.List<?> v)
-
-
-
Method Detail
-
unmarshal
public java.util.Set<?> unmarshal(java.util.List<?> v) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<?>,java.util.Set<?>>
- Throws:
java.lang.Exception
-
marshal
public java.util.List<?> marshal(java.util.Set<?> v) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.util.List<?>,java.util.Set<?>>
- Throws:
java.lang.Exception
-
-