public static class MtomCodec.MtomStreamWriterImpl extends XMLStreamWriterFilter implements org.jvnet.staxex.XMLStreamWriterEx, org.jvnet.staxex.util.MtomStreamWriter, HasEncoding
writer
Constructor and Description |
---|
MtomStreamWriterImpl(XMLStreamWriter w,
List<MtomCodec.ByteArrayBuffer> mtomAttachments,
String b,
MTOMFeature myMtomFeature) |
Modifier and Type | Method and Description |
---|---|
AttachmentMarshaller |
getAttachmentMarshaller()
JAXBMessage writes envelope directly to the OutputStream(for SJSXP, woodstox).
|
String |
getEncoding() |
List<MtomCodec.ByteArrayBuffer> |
getMtomAttachments() |
org.jvnet.staxex.NamespaceContextEx |
getNamespaceContext() |
Object |
getProperty(String name) |
void |
writeBinary(byte[] data,
int start,
int len,
String contentType) |
void |
writeBinary(DataHandler dataHandler) |
OutputStream |
writeBinary(String contentType) |
void |
writePCDATA(CharSequence data) |
close, flush, getPrefix, onRecycled, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush, getPrefix, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEndElement, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement, writeStartElement
public MtomStreamWriterImpl(XMLStreamWriter w, List<MtomCodec.ByteArrayBuffer> mtomAttachments, String b, MTOMFeature myMtomFeature)
public void writeBinary(byte[] data, int start, int len, String contentType) throws XMLStreamException
writeBinary
in interface org.jvnet.staxex.XMLStreamWriterEx
XMLStreamException
public void writeBinary(DataHandler dataHandler) throws XMLStreamException
writeBinary
in interface org.jvnet.staxex.XMLStreamWriterEx
XMLStreamException
public OutputStream writeBinary(String contentType) throws XMLStreamException
writeBinary
in interface org.jvnet.staxex.XMLStreamWriterEx
XMLStreamException
public void writePCDATA(CharSequence data) throws XMLStreamException
writePCDATA
in interface org.jvnet.staxex.XMLStreamWriterEx
XMLStreamException
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in interface XMLStreamWriter
getProperty
in class XMLStreamWriterFilter
IllegalArgumentException
public AttachmentMarshaller getAttachmentMarshaller()
getAttachmentMarshaller
in interface org.jvnet.staxex.util.MtomStreamWriter
public List<MtomCodec.ByteArrayBuffer> getMtomAttachments()
public String getEncoding()
getEncoding
in interface HasEncoding
public org.jvnet.staxex.NamespaceContextEx getNamespaceContext()
getNamespaceContext
in interface XMLStreamWriter
getNamespaceContext
in interface org.jvnet.staxex.XMLStreamWriterEx
getNamespaceContext
in class XMLStreamWriterFilter
Copyright © 2015 Oracle Corporation. All rights reserved.