public class ContentTypeAdapter extends XmlAdapter<String,ContentType>
| Constructor and Description |
|---|
ContentTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(ContentType v) |
ContentType |
unmarshal(String v) |
public ContentType unmarshal(String v) throws Exception
unmarshal in class XmlAdapter<String,ContentType>Exceptionpublic String marshal(ContentType v) throws Exception
marshal in class XmlAdapter<String,ContentType>ExceptionCopyright © 2016–2018 Taimos GmbH. All rights reserved.