public static class MtomCodec.MtomStreamWriterImpl extends XMLStreamWriterFilter implements org.jvnet.staxex.XMLStreamWriterEx, MtomStreamWriter, HasEncoding
writer
Constructor and Description |
---|
MtomCodec.MtomStreamWriterImpl(javax.xml.stream.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(javax.activation.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 MtomCodec.MtomStreamWriterImpl(javax.xml.stream.XMLStreamWriter w, List<MtomCodec.ByteArrayBuffer> mtomAttachments, String b, MTOMFeature myMtomFeature)
public void writeBinary(byte[] data, int start, int len, String contentType) throws javax.xml.stream.XMLStreamException
writeBinary
in interface org.jvnet.staxex.XMLStreamWriterEx
javax.xml.stream.XMLStreamException
public void writeBinary(javax.activation.DataHandler dataHandler) throws javax.xml.stream.XMLStreamException
writeBinary
in interface org.jvnet.staxex.XMLStreamWriterEx
javax.xml.stream.XMLStreamException
public OutputStream writeBinary(String contentType) throws javax.xml.stream.XMLStreamException
writeBinary
in interface org.jvnet.staxex.XMLStreamWriterEx
javax.xml.stream.XMLStreamException
public void writePCDATA(CharSequence data) throws javax.xml.stream.XMLStreamException
writePCDATA
in interface org.jvnet.staxex.XMLStreamWriterEx
javax.xml.stream.XMLStreamException
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in interface javax.xml.stream.XMLStreamWriter
getProperty
in class XMLStreamWriterFilter
IllegalArgumentException
public AttachmentMarshaller getAttachmentMarshaller()
getAttachmentMarshaller
in interface MtomStreamWriter
public List<MtomCodec.ByteArrayBuffer> getMtomAttachments()
public String getEncoding()
getEncoding
in interface HasEncoding
public org.jvnet.staxex.NamespaceContextEx getNamespaceContext()
getNamespaceContext
in interface javax.xml.stream.XMLStreamWriter
getNamespaceContext
in interface org.jvnet.staxex.XMLStreamWriterEx
getNamespaceContext
in class XMLStreamWriterFilter
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.