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