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 JAXB
param converter
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider
JaxbStringReaderProvider.RootElementProvider
-
Constructor Summary
ConstructorDescriptionRootElementProvider
(jakarta.inject.Provider<SAXParserFactory> spfProvider, Providers ps) Creates new instance. -
Method Summary
Modifier and TypeMethodDescription<T> ParamConverter<T>
getConverter
(Class<T> rawType, Type genericType, Annotation[] annotations) Methods inherited from class org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider
getStoredJAXBContext, getUnmarshaller
-
Constructor Details
-
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 Details
-
getConverter
public <T> ParamConverter<T> getConverter(Class<T> rawType, Type genericType, Annotation[] annotations) - Specified by:
getConverter
in interfaceParamConverterProvider
-