org.jboss.resteasy.plugins.providers.atom
Class MediaTypeAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.ws.rs.core.MediaType>
org.jboss.resteasy.plugins.providers.atom.MediaTypeAdapter
public class MediaTypeAdapter
- extends XmlAdapter<String,javax.ws.rs.core.MediaType>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaTypeAdapter
public MediaTypeAdapter()
unmarshal
public javax.ws.rs.core.MediaType unmarshal(String s)
throws Exception
- Specified by:
unmarshal
in class XmlAdapter<String,javax.ws.rs.core.MediaType>
- Throws:
Exception
marshal
public String marshal(javax.ws.rs.core.MediaType mediaType)
throws Exception
- Specified by:
marshal
in class XmlAdapter<String,javax.ws.rs.core.MediaType>
- Throws:
Exception
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.