Class JaxbStringReaderProvider.RootElementProvider
- java.lang.Object
-
- org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider
-
- org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider.RootElementProvider
-
- All Implemented Interfaces:
ParamConverterProvider
- Enclosing class:
- JaxbStringReaderProvider
public static class JaxbStringReaderProvider.RootElementProvider extends JaxbStringReaderProvider implements ParamConverterProvider
Root element JAXBparam converter
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider
JaxbStringReaderProvider.RootElementProvider
-
-
Constructor Summary
Constructors Constructor Description RootElementProvider(jakarta.inject.Provider<SAXParserFactory> spfProvider, Providers ps)
Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ParamConverter<T>
getConverter(Class<T> rawType, Type genericType, Annotation[] annotations)
-
Methods inherited from class org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider
getStoredJAXBContext, getUnmarshaller
-
-
-
-
Constructor Detail
-
RootElementProvider
public RootElementProvider(@Context jakarta.inject.Provider<SAXParserFactory> spfProvider, @Context Providers ps)
Creates new instance.- Parameters:
spfProvider
-SAX parser factory
injection provider.ps
- used to obtainJAXBContext
andUnmarshaller
ContextResolvers
-
-
Method Detail
-
getConverter
public <T> ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations)
- Specified by:
getConverter
in interfaceParamConverterProvider
-
-