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