public class ContentTypeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ContentType>
Constructor and Description |
---|
ContentTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(ContentType v) |
ContentType |
unmarshal(java.lang.String v) |
public ContentType unmarshal(java.lang.String v) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ContentType>
java.lang.Exception
XmlAdapter.unmarshal(java.lang.Object)
public java.lang.String marshal(ContentType v) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,ContentType>
java.lang.Exception
XmlAdapter.marshal(java.lang.Object)