public abstract class AbstractJAXBProvider<T> extends AbstractMessageReaderWriterProvider<T>
UTF8| Constructor and Description |
|---|
AbstractJAXBProvider(Providers ps) |
AbstractJAXBProvider(Providers ps,
MediaType mt) |
| Modifier and Type | Method and Description |
|---|---|
protected javax.xml.bind.JAXBContext |
getJAXBContext(java.lang.Class type) |
protected javax.xml.bind.Marshaller |
getMarshaller(java.lang.Class type,
MediaType mt) |
protected static javax.xml.transform.sax.SAXSource |
getSAXSource(javax.xml.parsers.SAXParserFactory spf,
java.io.InputStream entityStream) |
protected javax.xml.bind.JAXBContext |
getStoredJAXBContext(java.lang.Class type) |
protected javax.xml.bind.Unmarshaller |
getUnmarshaller(java.lang.Class type,
MediaType mt) |
protected boolean |
isFormattedOutput() |
protected boolean |
isSupported(MediaType m) |
protected boolean |
isXmlRootElementProcessing() |
void |
setConfiguration(FeaturesAndProperties fp) |
protected void |
setHeader(javax.xml.bind.Marshaller m,
java.lang.annotation.Annotation[] annotations) |
getCharset, getSize, readFromAsString, writeTo, writeTo, writeToAsStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisReadable, readFromisWriteable, writeTopublic AbstractJAXBProvider(Providers ps)
@Context public void setConfiguration(FeaturesAndProperties fp)
protected boolean isSupported(MediaType m)
protected final javax.xml.bind.Unmarshaller getUnmarshaller(java.lang.Class type,
MediaType mt)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected final javax.xml.bind.Marshaller getMarshaller(java.lang.Class type,
MediaType mt)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected javax.xml.bind.JAXBContext getJAXBContext(java.lang.Class type)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected javax.xml.bind.JAXBContext getStoredJAXBContext(java.lang.Class type)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected static javax.xml.transform.sax.SAXSource getSAXSource(javax.xml.parsers.SAXParserFactory spf,
java.io.InputStream entityStream)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected boolean isFormattedOutput()
protected boolean isXmlRootElementProcessing()
protected void setHeader(javax.xml.bind.Marshaller m,
java.lang.annotation.Annotation[] annotations)
throws javax.xml.bind.PropertyException
javax.xml.bind.PropertyExceptionCopyright © 2016 Oracle Corporation. All Rights Reserved.