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