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