Class StringAttributeAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<StringAttributeDTO,StringAttribute>
-
- org.opennms.netmgt.collection.adapters.StringAttributeAdapter
-
public class StringAttributeAdapter extends 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 Exception
- Specified by:
unmarshal
in classXmlAdapter<StringAttributeDTO,StringAttribute>
- Throws:
Exception
-
marshal
public StringAttributeDTO marshal(StringAttribute attribute) throws Exception
- Specified by:
marshal
in classXmlAdapter<StringAttributeDTO,StringAttribute>
- Throws:
Exception
-
-