public class MediaTypeAdapter extends XmlAdapter<String,MediaType>
MediaTypeAdapter()
String
marshal(MediaType mediaType)
MediaType
unmarshal(String s)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MediaTypeAdapter()
public MediaType unmarshal(String s) throws Exception
unmarshal
XmlAdapter<String,MediaType>
Exception
public String marshal(MediaType mediaType) throws Exception
marshal
Copyright © 2014. All Rights Reserved.