public class JaxbStringReaderProvider extends Object
param converter provider that
support conversion of a string value into a JAXB instance.| Modifier and Type | Class and Description |
|---|---|
static class |
JaxbStringReaderProvider.RootElementProvider
Root element JAXB
param converter. |
| Constructor and Description |
|---|
JaxbStringReaderProvider(Providers ps)
Create JAXB string reader provider.
|
| Modifier and Type | Method and Description |
|---|---|
protected JAXBContext |
getStoredJAXBContext(Class type)
Get the stored JAXB context supporting the Java type.
|
protected Unmarshaller |
getUnmarshaller(Class type)
Get JAXB unmarshaller for the type.
|
public JaxbStringReaderProvider(Providers ps)
ps - used to obtain JAXBContext and Unmarshaller ContextResolversprotected final Unmarshaller getUnmarshaller(Class type) throws JAXBException
type - Java type to be unmarshalled.JAXBException - in case there's an error retrieving the unmarshaller.protected JAXBContext getStoredJAXBContext(Class type) throws JAXBException
type - Java type supported by the stored JAXB context.JAXBException - in case JAXB context retrieval fails.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.