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