Class InterfaceLevelResourceAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<InterfaceLevelResourceDTO,InterfaceLevelResource>
-
- org.opennms.netmgt.collection.adapters.InterfaceLevelResourceAdapter
-
public class InterfaceLevelResourceAdapter extends XmlAdapter<InterfaceLevelResourceDTO,InterfaceLevelResource>
-
-
Constructor Summary
Constructors Constructor Description InterfaceLevelResourceAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InterfaceLevelResourceDTO
marshal(InterfaceLevelResource resource)
InterfaceLevelResource
unmarshal(InterfaceLevelResourceDTO dto)
-
-
-
Method Detail
-
unmarshal
public InterfaceLevelResource unmarshal(InterfaceLevelResourceDTO dto) throws Exception
- Specified by:
unmarshal
in classXmlAdapter<InterfaceLevelResourceDTO,InterfaceLevelResource>
- Throws:
Exception
-
marshal
public InterfaceLevelResourceDTO marshal(InterfaceLevelResource resource) throws Exception
- Specified by:
marshal
in classXmlAdapter<InterfaceLevelResourceDTO,InterfaceLevelResource>
- Throws:
Exception
-
-