public class ContentTypeAdapter extends XmlAdapter<String,ContentType>
| Constructor and Description |
|---|
ContentTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(ContentType contentType) |
ContentType |
unmarshal(String s) |
public ContentType unmarshal(String s) throws Exception
unmarshal in class XmlAdapter<String,ContentType>Exceptionpublic String marshal(ContentType contentType) throws Exception
marshal in class XmlAdapter<String,ContentType>ExceptionCopyright © 2018 Zanata Project. All rights reserved.