public class SOAPEnvelopeImpl extends SOAPElementImpl implements SOAPEnvelope
domNode, soapParentATTRIBUTE_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(SOAPPartImpl soapPart,
SOAPElementImpl element,
boolean addHeaderAndBody)
Construct a SOAP envelope for the given SOAP version URI prefix, etc.
|
| Modifier and Type | Method and Description |
|---|---|
SOAPElement |
addAttribute(Name name,
String value)
Adds an attribute with the specified name and value to this SOAPElement object.
|
SOAPBody |
addBody() |
SOAPElement |
addChildElement(SOAPElement child)
Make sure the child is either a SOAPHeader or SOAPBody
|
SOAPHeader |
addHeader() |
SOAPElement |
addTextNode(String value)
Text nodes are not supported.
|
Name |
createName(String localName) |
Name |
createName(String localName,
String prefix,
String uri) |
SOAPBody |
getBody() |
SOAPHeader |
getHeader() |
Document |
getOwnerDocument() |
SOAPMessage |
getSOAPMessage() |
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFirstChildElementByLocalName, getNamespacePrefixes, getNamespaceURI, getSchemaTypeInfo, getSOAPEnvelope, getTagName, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, removeAttribute, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeContents, removeNamespaceDeclaration, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setElementQName, setElementQNameInternal, setEncodingStyle, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setPrefix, writeElement, writeElementContentappendChild, cloneNode, compareDocumentPosition, detachNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getValue, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeChild, replaceChild, setNodeValue, setParentElement, setTextContent, setUserData, setValue, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitaddAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setElementQName, setEncodingStyledetachNode, getParentElement, getValue, recycleNode, setParentElement, setValuegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic SOAPEnvelopeImpl(SOAPPartImpl soapPart, SOAPElementImpl element, boolean addHeaderAndBody) throws SOAPException
SOAPExceptionpublic SOAPMessage getSOAPMessage()
public SOAPBody addBody() throws SOAPException
addBody in interface SOAPEnvelopeSOAPExceptionpublic SOAPHeader addHeader() throws SOAPException
addHeader in interface SOAPEnvelopeSOAPExceptionpublic SOAPElement addAttribute(Name name, String value) throws SOAPException
SOAPElementImpladdAttribute in interface SOAPElementaddAttribute in class SOAPElementImplname - a Name object with the name of the attributevalue - a String giving the value of the attributeSOAPException - if there is an error in creating the Attributepublic SOAPElement addChildElement(SOAPElement child) throws SOAPException
addChildElement in interface SOAPElementaddChildElement in class SOAPElementImplchild - the SOAPElement to be added as a new childSOAPException - if there was an error in adding this element as a childpublic Name createName(String localName) throws SOAPException
createName in interface SOAPEnvelopeSOAPExceptionpublic Name createName(String localName, String prefix, String uri) throws SOAPException
createName in interface SOAPEnvelopeSOAPExceptionpublic SOAPBody getBody() throws SOAPException
getBody in interface SOAPEnvelopeSOAPExceptionpublic SOAPHeader getHeader() throws SOAPException
getHeader in interface SOAPEnvelopeSOAPExceptionpublic SOAPElement addTextNode(String value) throws SOAPException
addTextNode in interface SOAPElementaddTextNode in class SOAPElementImplvalue - a String object with the textual content to be addedSOAPException - if there is an error in creating the new Text object
or if it is not legal to attach it as a child to this SOAPElementpublic Document getOwnerDocument()
getOwnerDocument in interface NodegetOwnerDocument in class NodeImplCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.