Resteasy Atom Provider 2.3.6.Final-redhat-1

org.jboss.resteasy.plugins.providers.atom
Class MediaTypeAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,javax.ws.rs.core.MediaType>
      extended by org.jboss.resteasy.plugins.providers.atom.MediaTypeAdapter

public class MediaTypeAdapter
extends XmlAdapter<String,javax.ws.rs.core.MediaType>

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
MediaTypeAdapter()
           
 
Method Summary
 String marshal(javax.ws.rs.core.MediaType mediaType)
           
 javax.ws.rs.core.MediaType unmarshal(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaTypeAdapter

public MediaTypeAdapter()
Method Detail

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

Resteasy Atom Provider 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.