@Produces(value="*/*") @Consumes(value="*/*") @Singleton public static final class XmlCollectionJaxbProvider.General extends XmlCollectionJaxbProvider
<type>/<sub-type>+xml media types.XmlCollectionJaxbProvider.App, XmlCollectionJaxbProvider.General, XmlCollectionJaxbProvider.TextAbstractCollectionJaxbProvider.JaxbTypeCheckerUTF8| Constructor and Description |
|---|
General(jakarta.inject.Provider<XMLInputFactory> xif,
Providers ps,
Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isSupported(MediaType m)
Check if the given media type is supported by this JAXB entity provider.
|
getXMLStreamReader, writeCollectiongetElementClass, getElementName, getRootElementName, isReadable, isWriteable, readFrom, verifyArrayType, verifyCollectionSubclass, verifyGenericType, writeTogetMarshaller, getSAXSource, getStoredJaxbContext, getUnmarshaller, isFormattedOutput, isXmlRootElementProcessing, setConfiguration, setHeadergetCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsString@Inject public General(@Context jakarta.inject.Provider<XMLInputFactory> xif, @Context Providers ps, @Context Configuration config)
protected boolean isSupported(MediaType m)
AbstractJaxbProvider
Subclasses can override this method. Default implementation always returns true.
isSupported in class AbstractJaxbProvider<Object>m - media type to be checked for support.true if the media type is supported by the entity provider, false otherwise.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.