public class JettisonJaxbElementProvider extends AbstractJaxbElementProvider
JAXBElement
type.| Modifier and Type | Class and Description |
|---|---|
static class |
JettisonJaxbElementProvider.App |
static class |
JettisonJaxbElementProvider.General |
UTF8| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType) |
protected JAXBElement<?> |
readFrom(Class<?> type,
MediaType mediaType,
Unmarshaller unmarshaller,
InputStream entityStream) |
protected void |
writeTo(JAXBElement<?> t,
MediaType mediaType,
Charset c,
Marshaller m,
OutputStream entityStream) |
readFrom, writeTogetMarshaller, getSAXSource, getStoredJaxbContext, getUnmarshaller, isFormattedOutput, isSupported, isXmlRootElementProcessing, setConfiguration, setHeadergetCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsStringpublic boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isReadable in interface MessageBodyReader<JAXBElement<?>>isReadable in class AbstractJaxbElementProviderpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
isWriteable in interface MessageBodyWriter<JAXBElement<?>>isWriteable in class AbstractJaxbElementProviderprotected final JAXBElement<?> readFrom(Class<?> type, MediaType mediaType, Unmarshaller unmarshaller, InputStream entityStream) throws JAXBException
readFrom in class AbstractJaxbElementProviderJAXBExceptionprotected final void writeTo(JAXBElement<?> t, MediaType mediaType, Charset c, Marshaller m, OutputStream entityStream) throws JAXBException
writeTo in class AbstractJaxbElementProviderJAXBExceptionCopyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.