|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.inject.JaxbStringReaderProvider
public class JaxbStringReaderProvider
String reader provider producing param converter provider that
support conversion of a string value into a JAXB instance.
| Nested Class Summary | |
|---|---|
static class |
JaxbStringReaderProvider.RootElementProvider
Root element JAXB param converter. |
| Constructor Summary | |
|---|---|
JaxbStringReaderProvider(Providers ps)
Create JAXB string reader provider. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxbStringReaderProvider(Providers ps)
ps - used to obtain JAXBContext and Unmarshaller ContextResolvers| Method Detail |
|---|
protected 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||