Class ArchiverTypeAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,ArchiverType>
-
- com.atlassian.bamboo.rest.model.adapters.ArchiverTypeAdapter
-
public class ArchiverTypeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,ArchiverType>
An adapter class for serializing and de-serializingArchiverType
objects.
-
-
Constructor Summary
Constructors Constructor Description ArchiverTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(ArchiverType archiverType)
ArchiverType
unmarshal(String name)
-
-
-
Method Detail
-
unmarshal
public ArchiverType unmarshal(String name) throws Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,ArchiverType>
- Throws:
Exception
-
marshal
public String marshal(ArchiverType archiverType) throws Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,ArchiverType>
- Throws:
Exception
-
-