public abstract class XmlRootObjectJaxbProvider extends AbstractJaxbProvider<Object>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | XmlRootObjectJaxbProvider.AppProvider for un-marshalling entities of  application/xmlmedia type
 into JAXB beans usingJAXB unmarshaller. | 
| static class  | XmlRootObjectJaxbProvider.GeneralProvider for un-marshalling entities of  <type>/<sub-type>+xmlmedia types
 into JAXB beans usingJAXB unmarshaller. | 
| static class  | XmlRootObjectJaxbProvider.TextProvider for un-marshalling entities of  text/xmlmedia type
 into JAXB beans usingJAXB unmarshaller. | 
UTF8| Modifier and Type | Method and Description | 
|---|---|
| protected JAXBContext | getStoredJaxbContext(Class type)Retrieve cached JAXB context capable of handling the given Java type. | 
| boolean | isReadable(Class<?> type,
          Type genericType,
          Annotation[] annotations,
          javax.ws.rs.core.MediaType mediaType) | 
| boolean | isWriteable(Class<?> arg0,
           Type arg1,
           Annotation[] arg2,
           javax.ws.rs.core.MediaType mediaType) | 
| Object | readFrom(Class<Object> type,
        Type genericType,
        Annotation[] annotations,
        javax.ws.rs.core.MediaType mediaType,
        javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
        InputStream inputStream) | 
| void | writeTo(Object arg0,
       Class<?> arg1,
       Type arg2,
       Annotation[] arg3,
       javax.ws.rs.core.MediaType arg4,
       javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
       OutputStream arg6) | 
getMarshaller, getSAXSource, getUnmarshaller, isFormattedOutput, isSupported, isXmlRootElementProcessing, setConfiguration, setHeadergetCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsStringprotected JAXBContext getStoredJaxbContext(Class type) throws JAXBException
AbstractJaxbProvidergetStoredJaxbContext in class AbstractJaxbProvider<Object>type - Java type .JAXBException - in case the JAXB context retrieval fails.public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
public final Object readFrom(Class<Object> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream inputStream) throws IOException
IOExceptionpublic boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType mediaType)
public void writeTo(Object arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream arg6) throws IOException, javax.ws.rs.WebApplicationException
IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.