public class SOAPMessageImpl extends OMDocumentImpl implements SOAPMessage
builder, charSetEncoding, firstChild, isStandalone, lastChild, state, xmlEncoding, xmlVersion
factory
XML_10, XML_11
COMPLETE, DISCARDED, INCOMPLETE
Constructor and Description |
---|
SOAPMessageImpl(OMXMLParserWrapper parserWrapper,
SOAPFactory factory) |
SOAPMessageImpl(SOAPFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected OMDocument |
createClone(OMCloneOptions options) |
SOAPEnvelope |
getSOAPEnvelope() |
protected void |
internalSerialize(XMLStreamWriter writer,
boolean cache,
boolean includeXMLDeclaration) |
void |
setOMDocumentElement(OMElement rootElement)
Set the document element of the XML document.
|
void |
setSOAPEnvelope(SOAPEnvelope envelope) |
addChild, addChild, build, clone, discarded, getBuilder, getCharsetEncoding, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastKnownOMChild, getOMDocumentElement, getSAXSource, getState, getXMLEncoding, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, getXMLVersion, internalSerialize, internalSerialize, internalSerializeAndConsume, isComplete, isStandalone, removeChildren, setCharsetEncoding, setComplete, setFirstChild, setLastChild, setStandalone, setXMLEncoding, setXMLVersion
close, getOMFactory, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCharsetEncoding, getOMDocumentElement, getXMLEncoding, getXMLVersion, isStandalone, setCharsetEncoding, setStandalone, setXMLEncoding, setXMLVersion
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
build, close, isComplete, serialize, serialize, serializeAndConsume
clone, getOMFactory
public SOAPMessageImpl(SOAPFactory factory)
public SOAPMessageImpl(OMXMLParserWrapper parserWrapper, SOAPFactory factory)
public SOAPEnvelope getSOAPEnvelope() throws SOAPProcessingException
getSOAPEnvelope
in interface SOAPMessage
SOAPProcessingException
public void setSOAPEnvelope(SOAPEnvelope envelope) throws SOAPProcessingException
setSOAPEnvelope
in interface SOAPMessage
SOAPProcessingException
public void setOMDocumentElement(OMElement rootElement)
OMDocument
setOMDocumentElement
in interface OMDocument
setOMDocumentElement
in class OMDocumentImpl
rootElement
- the new document element; must not be null
protected void internalSerialize(XMLStreamWriter writer, boolean cache, boolean includeXMLDeclaration) throws XMLStreamException
internalSerialize
in class OMDocumentImpl
XMLStreamException
protected OMDocument createClone(OMCloneOptions options)
createClone
in class OMDocumentImpl
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.