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, writeToAsString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isReadable, readFrom
isWriteable, writeTo
public 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.JAXBException
protected final javax.xml.bind.Marshaller getMarshaller(java.lang.Class type, MediaType mt) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
protected javax.xml.bind.JAXBContext getJAXBContext(java.lang.Class type) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
protected javax.xml.bind.JAXBContext getStoredJAXBContext(java.lang.Class type) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
protected static javax.xml.transform.sax.SAXSource getSAXSource(javax.xml.parsers.SAXParserFactory spf, java.io.InputStream entityStream) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
protected 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.PropertyException
Copyright © 2016 Oracle Corporation. All Rights Reserved.