public abstract class XmlRootElementJaxbProvider extends AbstractRootElementJaxbProvider
root elements
and types.| Modifier and Type | Class and Description |
|---|---|
static class |
XmlRootElementJaxbProvider.App
Provider for marshalling/un-marshalling JAXB
root element
and type instances from/to entities of application/xml
media type. |
static class |
XmlRootElementJaxbProvider.General
Provider for marshalling/un-marshalling JAXB
root element
and type instances from/to entities of <type>/<sub-type>+xml
media types. |
static class |
XmlRootElementJaxbProvider.Text
Provider for marshalling/un-marshalling JAXB
root element
and type instances from/to entities of text/xml
media type. |
UTF8| Modifier and Type | Method and Description |
|---|---|
protected Object |
readFrom(Class<Object> type,
MediaType mediaType,
Unmarshaller u,
InputStream entityStream)
Unmarshal a JAXB type.
|
isReadable, isWriteable, readFrom, writeTo, writeTogetMarshaller, getSAXSource, getStoredJaxbContext, getUnmarshaller, isFormattedOutput, isSupported, isXmlRootElementProcessing, setConfiguration, setHeadergetCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsStringprotected Object readFrom(Class<Object> type, MediaType mediaType, Unmarshaller u, InputStream entityStream) throws JAXBException
AbstractRootElementJaxbProviderImplementing classes may override this method.
readFrom in class AbstractRootElementJaxbProvidertype - the JAXB typemediaType - the media typeu - the unmarshaller to use for unmarshalling.entityStream - the input stream to unmarshal from.JAXBException - in case the JAXB unmarshalling fails.Copyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.