public class SOAPEnvelopeImpl extends SOAPElement implements SOAPEnvelope, OMConstants
localName, namespacefirstChild, lastChildnextSibling, parentNode, previousSiblingbuilder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIEDCDATA_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_URIATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
SOAPEnvelopeImpl(DocumentImpl doc,
OMXMLParserWrapper builder,
SOAPFactory factory) |
SOAPEnvelopeImpl(OMNamespace ns,
SOAPFactory factory) |
SOAPEnvelopeImpl(OMXMLParserWrapper builder,
SOAPFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(OMNode child)
Adds the given node as the last child.
|
protected void |
checkParent(OMElement parent)
This has to be implemented by all the derived classes to check for the correct parent.
|
OMNode |
detach()
Method detach
|
SOAPBody |
getBody()
Returns the
SOAPBody object associated with this SOAPEnvelope
object. |
SOAPHeader |
getHeader()
Returns the
SOAPHeader object for this SOAPEnvelope object. |
OMNode |
getNextOMSibling()
Default behavior returns null, overriden in ChildNode.
|
String |
getSOAPBodyFirstElementLocalName()
Retrieves the local name of the first element in the body.
|
OMNamespace |
getSOAPBodyFirstElementNS()
Retrieves the OMNamespace of the first element in the body.
|
SOAPVersion |
getVersion() |
boolean |
hasFault()
Returns true if there is a SOAPFault in the body.
|
Node |
insertBefore(Node newChild,
Node refChild)
Inserts newChild before the refChild.
|
void |
internalSerialize(XMLStreamWriter writer2,
boolean cache)
Serializes the node.
|
addAttribute, addAttribute, buildWithAttachments, cloneNode, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, discard, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getChildElements, getDefaultNamespace, getElementsByTagName, getElementsByTagNameNS, getFirstElement, getLineNumber, getLocalName, getNamespace, getNamespaceURI, getNamespaceURI, getNodeName, getNodeType, getPrefix, getQName, getSchemaTypeInfo, getTagName, getText, getTextAsQName, getTrimmedText, getType, hasAttribute, hasAttributeNS, hasAttributes, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeNamespace, resolveQName, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setBuilder, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setOwnerDocument, setText, setText, setType, toString, toStringWithConsumebuildNext, getBuilder, getChildNodes, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChild, getFirstChildWithName, getFirstOMChild, getFirstOMChildIfAvailable, getLastChild, getTextContent, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, hasChildNodes, importNode, removeChild, replaceChild, setFirstChild, setLastChild, setTextContentgetNextOMSiblingIfAvailable, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSiblingappendChild, build, close, compareDocumentPosition, getBaseURI, getFeature, getLength, getNodeValue, getOMFactory, getOwnerDocument, getUserData, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNodeValue, setPrefix, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getNamespaceURI, getQName, getText, getTextAsQName, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumebuildWithAttachments, discard, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforebuildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCachingbuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumeappendChild, compareDocumentPosition, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatasetCompletepublic SOAPEnvelopeImpl(OMXMLParserWrapper builder, SOAPFactory factory)
builder - public SOAPEnvelopeImpl(DocumentImpl doc, OMXMLParserWrapper builder, SOAPFactory factory)
public SOAPEnvelopeImpl(OMNamespace ns, SOAPFactory factory)
ns - public SOAPVersion getVersion()
getVersion in interface SOAPEnvelopepublic SOAPHeader getHeader() throws OMException
SOAPHeader object for this SOAPEnvelope object.
This SOAPHeader will just be a container for all the headers in the OMMessage
getHeader in interface SOAPEnvelopeSOAPHeader object or null if there is noneOMException - if there is a problem obtaining the SOAPHeader objectOMExceptionpublic void addChild(OMNode child)
OMContaineraddChild in interface OMContaineraddChild in class ParentNodepublic Node insertBefore(Node newChild, Node refChild) throws DOMException
ParentNodeinsertBefore in interface NodeinsertBefore in class ParentNodeDOMExceptionpublic SOAPBody getBody() throws 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 SOAPEnvelopeSOAPBody object for this SOAPEnvelope object or
null if there is noneOMException - if there is a problem obtaining the SOAPBody objectOMExceptionpublic OMNode detach() throws OMException
detach in interface OMNodedetach in class ChildNodeOMExceptionprotected void checkParent(OMElement parent) throws SOAPProcessingException
SOAPElementcheckParent in class SOAPElementSOAPProcessingExceptionpublic void internalSerialize(XMLStreamWriter writer2, boolean cache) throws XMLStreamException
OMNodeExOMSerializable.serialize(XMLStreamWriter, boolean) instead.internalSerialize in interface OMNodeExinternalSerialize in class ElementImplcache - indicates if caching should be enabledXMLStreamExceptionpublic OMNode getNextOMSibling() throws OMException
NodeImplgetNextOMSibling in interface OMNodegetNextOMSibling in class ElementImplOMExceptionpublic boolean hasFault()
SOAPEnvelopehasFault in interface SOAPEnvelopepublic String getSOAPBodyFirstElementLocalName()
SOAPEnvelopegetSOAPBodyFirstElementLocalName in interface SOAPEnvelopepublic OMNamespace getSOAPBodyFirstElementNS()
SOAPEnvelopegetSOAPBodyFirstElementNS in interface SOAPEnvelopeCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.