org.apache.axis2.soap.impl.llom
Class SOAPMessageImpl
java.lang.Object
org.apache.axis2.om.impl.llom.OMDocumentImpl
org.apache.axis2.soap.impl.llom.SOAPMessageImpl
- All Implemented Interfaces:
- OMContainer, OMContainerEx, OMDocument, SOAPMessage
- public class SOAPMessageImpl
- extends OMDocumentImpl
- implements SOAPMessage
Methods inherited from class org.apache.axis2.om.impl.llom.OMDocumentImpl |
buildNext, getCharsetEncoding, getChildren, getChildrenWithName, getDocumentElement, getFirstChild, getFirstChildWithName, getXMLVersion, isComplete, isStandalone, serialize, serialize, serializeWithCache, serializeWithCache, setCharsetEncoding, setComplete, setStandalone, setXMLVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.axis2.om.OMDocument |
getCharsetEncoding, getDocumentElement, getXMLVersion, isStandalone, serialize, serialize, serializeWithCache, serializeWithCache, setCharsetEncoding, setStandalone, setXMLVersion |
SOAPMessageImpl
public SOAPMessageImpl()
SOAPMessageImpl
public SOAPMessageImpl(SOAPEnvelope envelope,
OMXMLParserWrapper parserWrapper)
SOAPMessageImpl
public SOAPMessageImpl(OMXMLParserWrapper parserWrapper)
getSOAPEnvelope
public SOAPEnvelope getSOAPEnvelope()
throws SOAPProcessingException
- Specified by:
getSOAPEnvelope
in interface SOAPMessage
- Throws:
SOAPProcessingException
setSOAPEnvelope
public void setSOAPEnvelope(SOAPEnvelope envelope)
throws SOAPProcessingException
- Specified by:
setSOAPEnvelope
in interface SOAPMessage
- Throws:
SOAPProcessingException
setDocumentElement
public void setDocumentElement(OMElement rootElement)
- Description copied from interface:
OMDocument
- Sets the document element of the XML document
- Specified by:
setDocumentElement
in interface OMDocument
- Overrides:
setDocumentElement
in class OMDocumentImpl
- Parameters:
rootElement
-
addChild
public void addChild(OMNode child)
- Description copied from class:
OMDocumentImpl
- This will add child to the element. One can decide whether he append the child or he adds to the
front of the children list
- Specified by:
addChild
in interface OMContainer
- Overrides:
addChild
in class OMDocumentImpl
- Parameters:
child
-
setFirstChild
public void setFirstChild(OMNode firstChild)
- Description copied from class:
OMDocumentImpl
- Method setFirstChild
- Specified by:
setFirstChild
in interface OMContainerEx
- Overrides:
setFirstChild
in class OMDocumentImpl
- Parameters:
firstChild
-
serialize
protected void serialize(OMOutputImpl omOutput,
boolean cache,
boolean includeXMLDeclaration)
throws XMLStreamException
- Overrides:
serialize
in class OMDocumentImpl
- Throws:
XMLStreamException