@Produces(value="text/xml") @Consumes(value="text/xml") @Singleton public static final class XmlRootObjectJaxbProvider.Text extends XmlRootObjectJaxbProvider
text/xml
media type
into JAXB beans using JAXB unmarshaller
.XmlRootObjectJaxbProvider.App, XmlRootObjectJaxbProvider.General, XmlRootObjectJaxbProvider.Text
UTF8
Constructor and Description |
---|
Text(jakarta.inject.Provider<SAXParserFactory> spf,
Providers ps,
Configuration config) |
getStoredJaxbContext, isReadable, isWriteable, readFrom, writeTo
getMarshaller, getSAXSource, getUnmarshaller, isFormattedOutput, isSupported, isXmlRootElementProcessing, setConfiguration, setHeader
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsString
@Inject public Text(@Context jakarta.inject.Provider<SAXParserFactory> spf, @Context Providers ps, @Context Configuration config)
Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.