public abstract class SOAPEnvelopeImpl extends SOAPElement implements org.apache.axiom.soap.impl.intf.AxiomSOAPEnvelope, org.apache.axiom.om.OMConstants
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
COMPACT, COMPLETE, DISCARDED, INCOMPLETE
ARRAY_ITEM_LOCALNAME, ARRAY_ITEM_NS_PREFIX, ARRAY_ITEM_NSURI, ARRAY_ITEM_QNAME, DATA_HANDLER, DEFAULT_CHAR_SET_ENCODING, DEFAULT_DEFAULT_NAMESPACE, DEFAULT_XML_VERSION, IS_BINARY, IS_DATA_HANDLERS_AWARE, PULL_TYPE_BUILDER, PUSH_TYPE_BUILDER, XMLATTRTYPE_CDATA, XMLATTRTYPE_ENTITIES, XMLATTRTYPE_ENTITY, XMLATTRTYPE_ID, XMLATTRTYPE_IDREF, XMLATTRTYPE_IDREFS, XMLATTRTYPE_NMTOKEN, XMLATTRTYPE_NMTOKENS, XMLATTRTYPE_NOTATION, XMLNS_NS_PREFIX, XMLNS_NS_URI, XMLNS_PREFIX, XMLNS_URI
Constructor and Description |
---|
SOAPEnvelopeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder)
Add a SOAPHeader or SOAPBody object
|
void |
checkParent(org.apache.axiom.om.OMElement parent) |
org.apache.axiom.soap.SOAPBody |
getBody()
Returns the
SOAPBody object associated with this SOAPEnvelope
object. |
org.apache.axiom.soap.SOAPHeader |
getHeader() |
org.apache.axiom.soap.SOAPHeader |
getOrCreateHeader() |
String |
getSOAPBodyFirstElementLocalName() |
org.apache.axiom.om.OMNamespace |
getSOAPBodyFirstElementNS() |
org.apache.axiom.soap.SOAPVersion |
getVersion() |
boolean |
hasFault() |
void |
internalSerialize(org.apache.axiom.om.impl.common.serializer.push.Serializer serializer,
org.apache.axiom.om.OMOutputFormat format,
boolean cache) |
internalSetParent
coreGetNodeFactory, getMetaFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
internalCheckChild
getOMFactory, getSOAPHelper
_setAttributeValue, addAttribute, addAttribute, addNamespaceDeclaration, addNamespaceDeclaration, buildWithAttachments, checkChild, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, defaultInternalSerialize, detachAndDiscardParent, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, getType, handleNamespace, initName, insertChild, internalAppendAttribute, removeAttribute, resolveQName, setComplete, setLineNumber, setNamespace, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, hasName, setLocalName
addChild, build, defaultGetXMLStreamReader, discarded, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, notifyChildComplete, prepareNewChild, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
close, getBuilder, serialize, serialize, serializeAndConsume
clone, getMetaFactory
detach, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore
coreGetLocalName, coreGetNamespaceURI, coreGetPrefix, coreSetName, coreSetPrefix, defaultGetNamespace, defaultGetQName, getNamespace, getQName, hasName, initName, internalGetLocalName, internalSetLocalName, internalSetNamespace, setLocalName, updateLocalName
getLocalName, getNamespaceURI, getPrefix
coreGetNodeType, getImplicitNamespaceURI, getImplicitPrefix
coreAppendAttribute, coreGetAttribute, coreGetAttributesByType, coreGetFirstAttribute, coreGetLastAttribute, coreLookupNamespaceURI, coreLookupPrefix, coreRemoveAttribute, coreSetAttribute, coreSetAttribute, init, initSource
coreClone, coreDetach, coreGetNextSibling, coreGetNextSibling, coreGetNextSiblingIfAvailable, coreGetParent, coreGetParentElement, coreGetPreviousSibling, coreGetPreviousSibling, coreHasParent, coreInsertSiblingAfter, coreInsertSiblingBefore, coreInsertSiblingsBefore, coreReplaceWith, coreSetNextSibling, coreSetOwnerDocument, coreSetPreviousSibling, getRootOrOwnerDocument, internalSetParent, internalUnsetParent
coreGetCharacterData
coreSetCharacterData
coreSetBuilder, getBuilder
buildNext, cloneChildrenIfNecessary, coreAppendChild, coreAppendChildren, coreGetElements, coreGetFirstChild, coreGetFirstChild, coreGetFirstChildIfAvailable, coreGetLastChild, coreGetLastChild, coreGetLastKnownChild, coreGetNodes, coreRemoveChildren, coreSetCharacterData, coreSetState, forceExpand, getState, isExpanded
public org.apache.axiom.soap.SOAPVersion getVersion()
getVersion
in interface org.apache.axiom.soap.SOAPEnvelope
public org.apache.axiom.soap.SOAPHeader getHeader()
getHeader
in interface org.apache.axiom.soap.SOAPEnvelope
public org.apache.axiom.soap.SOAPHeader getOrCreateHeader()
getOrCreateHeader
in interface org.apache.axiom.soap.SOAPEnvelope
public void addChild(org.apache.axiom.om.OMNode child, boolean fromBuilder)
addChild
in interface org.apache.axiom.om.impl.intf.AxiomContainer
addChild
in interface org.apache.axiom.om.impl.OMContainerEx
child
- an OMNode to add - must be either a SOAPHeader or a SOAPBodypublic org.apache.axiom.soap.SOAPBody getBody() throws org.apache.axiom.om.OMException
SOAPBody
object associated with this SOAPEnvelope
object. This SOAPBody will just be a container for all the BodyElements in the
OMMessage
getBody
in interface org.apache.axiom.soap.SOAPEnvelope
SOAPBody
object for this SOAPEnvelope
object or
null
if there is noneorg.apache.axiom.om.OMException
- if there is a problem obtaining the SOAPBody
objectpublic void checkParent(org.apache.axiom.om.OMElement parent) throws org.apache.axiom.soap.SOAPProcessingException
checkParent
in interface org.apache.axiom.soap.impl.intf.AxiomSOAPElement
org.apache.axiom.soap.SOAPProcessingException
public void internalSerialize(org.apache.axiom.om.impl.common.serializer.push.Serializer serializer, org.apache.axiom.om.OMOutputFormat format, boolean cache) throws org.apache.axiom.om.impl.common.serializer.push.OutputException
internalSerialize
in interface org.apache.axiom.om.impl.intf.AxiomElement
internalSerialize
in interface org.apache.axiom.om.impl.intf.AxiomSerializable
org.apache.axiom.om.impl.common.serializer.push.OutputException
public boolean hasFault()
hasFault
in interface org.apache.axiom.soap.SOAPEnvelope
public String getSOAPBodyFirstElementLocalName()
getSOAPBodyFirstElementLocalName
in interface org.apache.axiom.soap.SOAPEnvelope
public org.apache.axiom.om.OMNamespace getSOAPBodyFirstElementNS()
getSOAPBodyFirstElementNS
in interface org.apache.axiom.soap.SOAPEnvelope
Copyright © The Apache Software Foundation. All Rights Reserved.