Package org.opennms.web.rest.api.support
Class JAXBResourceLocationAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ResourceLocation>
-
- org.opennms.web.rest.api.support.JAXBResourceLocationAdapter
-
public class JAXBResourceLocationAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ResourceLocation>
-
-
Constructor Summary
Constructors Constructor Description JAXBResourceLocationAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(ResourceLocation location)
ResourceLocation
unmarshal(java.lang.String locationString)
-
-
-
Method Detail
-
unmarshal
public ResourceLocation unmarshal(java.lang.String locationString) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ResourceLocation>
- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(ResourceLocation location) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ResourceLocation>
- Throws:
java.lang.Exception
-
-