Class MediaTypeAdapter

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

public class MediaTypeAdapter extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,jakarta.ws.rs.core.MediaType>
Version:
$Revision: 1 $
Author:
Bill Burke
  • Constructor Details

    • MediaTypeAdapter

      public MediaTypeAdapter()
  • Method Details

    • unmarshal

      public jakarta.ws.rs.core.MediaType unmarshal(String s) throws Exception
      Specified by:
      unmarshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,jakarta.ws.rs.core.MediaType>
      Throws:
      Exception
    • marshal

      public String marshal(jakarta.ws.rs.core.MediaType mediaType) throws Exception
      Specified by:
      marshal in class jakarta.xml.bind.annotation.adapters.XmlAdapter<String,jakarta.ws.rs.core.MediaType>
      Throws:
      Exception