T - Java type supported by the provider.public abstract class AbstractJaxbProvider<T> extends org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider<T>
UTF8| Constructor and Description |
|---|
AbstractJaxbProvider(javax.ws.rs.ext.Providers ps) |
AbstractJaxbProvider(javax.ws.rs.ext.Providers ps,
javax.ws.rs.core.MediaType mt) |
| Modifier and Type | Method and Description |
|---|---|
protected Marshaller |
getMarshaller(Class type,
javax.ws.rs.core.MediaType mt) |
protected static SAXSource |
getSAXSource(SAXParserFactory spf,
InputStream entityStream) |
protected JAXBContext |
getStoredJaxbContext(Class type) |
protected Unmarshaller |
getUnmarshaller(Class type,
javax.ws.rs.core.MediaType mt) |
protected boolean |
isFormattedOutput() |
protected boolean |
isSupported(javax.ws.rs.core.MediaType m) |
protected boolean |
isXmlRootElementProcessing() |
void |
setConfiguration(javax.ws.rs.core.Configuration config) |
protected void |
setHeader(Marshaller m,
Annotation[] annotations) |
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsStringpublic AbstractJaxbProvider(javax.ws.rs.ext.Providers ps)
public AbstractJaxbProvider(javax.ws.rs.ext.Providers ps,
javax.ws.rs.core.MediaType mt)
@Context public void setConfiguration(javax.ws.rs.core.Configuration config)
protected boolean isSupported(javax.ws.rs.core.MediaType m)
protected final Unmarshaller getUnmarshaller(Class type, javax.ws.rs.core.MediaType mt) throws JAXBException
JAXBExceptionprotected final Marshaller getMarshaller(Class type, javax.ws.rs.core.MediaType mt) throws JAXBException
JAXBExceptionprotected JAXBContext getStoredJaxbContext(Class type) throws JAXBException
JAXBExceptionprotected static SAXSource getSAXSource(SAXParserFactory spf, InputStream entityStream) throws JAXBException
JAXBExceptionprotected boolean isFormattedOutput()
protected boolean isXmlRootElementProcessing()
protected void setHeader(Marshaller m, Annotation[] annotations) throws PropertyException
PropertyExceptionCopyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.