Module com.sun.xml.messaging.saaj
Class SaajStaxWriterEx
java.lang.Object
com.sun.xml.messaging.saaj.util.stax.SaajStaxWriter
com.sun.xml.messaging.saaj.util.stax.SaajStaxWriterEx
- All Implemented Interfaces:
XMLStreamWriter
,org.jvnet.staxex.util.MtomStreamWriter
,org.jvnet.staxex.XMLStreamWriterEx
public class SaajStaxWriterEx
extends SaajStaxWriter
implements org.jvnet.staxex.XMLStreamWriterEx, org.jvnet.staxex.util.MtomStreamWriter
SaajStaxWriterEx converts XMLStreamWriterEx calls to build an orasaaj SOAPMessage with BinaryTextImpl.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.xml.messaging.saaj.util.stax.SaajStaxWriter
SaajStaxWriter.DeferredElement
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
Fields inherited from class com.sun.xml.messaging.saaj.util.stax.SaajStaxWriter
Body, currentElement, deferredElement, Envelope, envURI, Header, soap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.attachment.AttachmentMarshaller
org.jvnet.staxex.NamespaceContextEx
void
writeAttribute
(String prefix, String ns, String ln, String value) void
writeBinary
(byte[] data, int offset, int length, String contentType) void
writeBinary
(jakarta.activation.DataHandler data) writeBinary
(String arg0) void
void
writePCDATA
(CharSequence arg0) void
writeStartElement
(String prefix, String ln, String ns) Methods inherited from class com.sun.xml.messaging.saaj.util.stax.SaajStaxWriter
close, flush, getEnvelope, getPrefix, getProperty, getSOAPMessage, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.xml.stream.XMLStreamWriter
close, flush, getPrefix, getProperty, setDefaultNamespace, setNamespaceContext, setPrefix, writeAttribute, writeAttribute, writeCData, writeCharacters, writeCharacters, writeComment, writeDefaultNamespace, writeDTD, writeEmptyElement, writeEmptyElement, writeEmptyElement, writeEndDocument, writeEntityRef, writeNamespace, writeProcessingInstruction, writeProcessingInstruction, writeStartDocument, writeStartDocument, writeStartDocument, writeStartElement, writeStartElement
-
Field Details
-
xopNS
- See Also:
-
Include
- See Also:
-
href
- See Also:
-
-
Constructor Details
-
SaajStaxWriterEx
- Throws:
SOAPException
-
-
Method Details
-
writeStartElement
- Specified by:
writeStartElement
in interfaceXMLStreamWriter
- Overrides:
writeStartElement
in classSaajStaxWriter
- Throws:
XMLStreamException
-
writeEndElement
- Specified by:
writeEndElement
in interfaceXMLStreamWriter
- Overrides:
writeEndElement
in classSaajStaxWriter
- Throws:
XMLStreamException
-
writeAttribute
public void writeAttribute(String prefix, String ns, String ln, String value) throws XMLStreamException - Specified by:
writeAttribute
in interfaceXMLStreamWriter
- Overrides:
writeAttribute
in classSaajStaxWriter
- Throws:
XMLStreamException
-
getNamespaceContext
public org.jvnet.staxex.NamespaceContextEx getNamespaceContext()- Specified by:
getNamespaceContext
in interfaceXMLStreamWriter
- Specified by:
getNamespaceContext
in interfaceorg.jvnet.staxex.XMLStreamWriterEx
- Overrides:
getNamespaceContext
in classSaajStaxWriter
-
writeBinary
- Specified by:
writeBinary
in interfaceorg.jvnet.staxex.XMLStreamWriterEx
- Throws:
XMLStreamException
-
writeBinary
- Specified by:
writeBinary
in interfaceorg.jvnet.staxex.XMLStreamWriterEx
- Throws:
XMLStreamException
-
writeBinary
public void writeBinary(byte[] data, int offset, int length, String contentType) throws XMLStreamException - Specified by:
writeBinary
in interfaceorg.jvnet.staxex.XMLStreamWriterEx
- Throws:
XMLStreamException
-
writePCDATA
- Specified by:
writePCDATA
in interfaceorg.jvnet.staxex.XMLStreamWriterEx
- Throws:
XMLStreamException
-
getAttachmentMarshaller
public jakarta.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller()- Specified by:
getAttachmentMarshaller
in interfaceorg.jvnet.staxex.util.MtomStreamWriter
-