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