public class SOAPEnvelopeImpl extends SOAPElement implements org.apache.axiom.soap.SOAPEnvelope, org.apache.axiom.om.OMConstants
attributes, namespacesCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODEARRAY_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(org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory)
Constructor
|
SOAPEnvelopeImpl(org.apache.axiom.soap.SOAPMessage message,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder)
Add a SOAPHeader or SOAPBody object
|
protected void |
checkParent(org.apache.axiom.om.OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent.
|
protected org.apache.axiom.om.OMElement |
createClone(org.apache.axiom.om.OMCloneOptions options,
org.apache.axiom.om.OMContainer targetParent) |
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) |
internalSetParentaddAttribute, addAttribute, addNamespaceDeclaration, addNamespaceDeclaration, build, buildWithAttachments, checkChild, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getDefaultNamespace, getLineNumber, getNamespaceURI, removeAttribute, setComplete, setLineNumber, setNamespace, toString, toStringWithConsume, undeclarePrefixclone, coreSetParentgetOMFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTobuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeaddChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildrenbuild, close, isComplete, serialize, serialize, serializeAndConsumegetLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, hasName, setLocalName, setNamespacedetachAndDiscardParent, discard, getChildElements, getFirstElement, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, getType, handleNamespace, insertChild, resolveQName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, writeTextToaddChild, defaultBuild, discarded, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getSAXResult, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, isComplete, prepareNewChild, removeChildren, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumedetach, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBeforeclose, getBuilder, serialize, serialize, serializeAndConsumecoreGetNodeFactorygetLocalName, getNamespace, getPrefix, getQName, handleNamespace, hasName, internalGetLocalName, internalSetLocalName, internalSetNamespace, setLocalNamecoreDetach, coreGetNextSibling, coreGetNextSiblingIfAvailable, coreGetParent, coreGetPreviousSibling, coreHasParent, coreInsertSiblingAfter, coreInsertSiblingBefore, coreInsertSiblingsBefore, coreSetNextSibling, coreSetOwnerDocument, coreSetPreviousSibling, internalUnsetParentpublic SOAPEnvelopeImpl(org.apache.axiom.soap.SOAPMessage message,
org.apache.axiom.om.OMXMLParserWrapper builder,
org.apache.axiom.soap.SOAPFactory factory)
message - builder - the OMXMLParserWrapper building this envelopefactory - the SOAPFactory building this envelopepublic SOAPEnvelopeImpl(org.apache.axiom.om.OMNamespace ns,
org.apache.axiom.soap.SOAPFactory factory)
ns - OMNamespace for this envelopefactory - SOAPFactory associated with this envelopepublic org.apache.axiom.soap.SOAPVersion getVersion()
getVersion in interface org.apache.axiom.soap.SOAPEnvelopepublic org.apache.axiom.soap.SOAPHeader getHeader()
getHeader in interface org.apache.axiom.soap.SOAPEnvelopepublic org.apache.axiom.soap.SOAPHeader getOrCreateHeader()
getOrCreateHeader in interface org.apache.axiom.soap.SOAPEnvelopepublic void addChild(org.apache.axiom.om.OMNode child,
boolean fromBuilder)
addChild in interface org.apache.axiom.om.impl.common.AxiomContaineraddChild in interface org.apache.axiom.om.impl.OMContainerExchild - 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.SOAPEnvelopeSOAPBody object for this SOAPEnvelope object or
null if there is noneorg.apache.axiom.om.OMException - if there is a problem obtaining the SOAPBody objectprotected void checkParent(org.apache.axiom.om.OMElement parent)
throws org.apache.axiom.soap.SOAPProcessingException
SOAPElementcheckParent in class SOAPElementorg.apache.axiom.soap.SOAPProcessingExceptionpublic 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.common.AxiomSerializableinternalSerialize in class OMElementImplorg.apache.axiom.om.impl.common.serializer.push.OutputExceptionpublic boolean hasFault()
hasFault in interface org.apache.axiom.soap.SOAPEnvelopepublic String getSOAPBodyFirstElementLocalName()
getSOAPBodyFirstElementLocalName in interface org.apache.axiom.soap.SOAPEnvelopepublic org.apache.axiom.om.OMNamespace getSOAPBodyFirstElementNS()
getSOAPBodyFirstElementNS in interface org.apache.axiom.soap.SOAPEnvelopeprotected org.apache.axiom.om.OMElement createClone(org.apache.axiom.om.OMCloneOptions options,
org.apache.axiom.om.OMContainer targetParent)
createClone in class OMElementImplCopyright ? The Apache Software Foundation. All Rights Reserved.