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