public static class JaxbStringReaderProvider.RootElementProvider extends JaxbStringReaderProvider implements jakarta.ws.rs.ext.ParamConverterProvider
param converter
.JaxbStringReaderProvider.RootElementProvider
Constructor and Description |
---|
RootElementProvider(jakarta.inject.Provider<SAXParserFactory> spfProvider,
jakarta.ws.rs.ext.Providers ps)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
<T> jakarta.ws.rs.ext.ParamConverter<T> |
getConverter(Class<T> rawType,
Type genericType,
Annotation[] annotations) |
getStoredJAXBContext, getUnmarshaller
public RootElementProvider(@Context jakarta.inject.Provider<SAXParserFactory> spfProvider, @Context jakarta.ws.rs.ext.Providers ps)
spfProvider
- SAX parser factory
injection provider.ps
- used to obtain JAXBContext
and Unmarshaller
ContextResolvers
public <T> jakarta.ws.rs.ext.ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations)
getConverter
in interface jakarta.ws.rs.ext.ParamConverterProvider
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.