public class SOAPBodyImpl extends SOAPElementImpl implements SOAPBody
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 |
|---|
SOAPBodyImpl(String prefix,
String namespace) |
| 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.
|
SOAPBodyElement |
addBodyElement(Name name) |
SOAPBodyElement |
addBodyElement(QName qname) |
SOAPElement |
addChildElement(SOAPElement child)
Convert the child into a SOAPBodyElement
|
SOAPBodyElement |
addDocument(Document doc) |
SOAPFault |
addFault() |
SOAPFault |
addFault(Name faultCode,
String faultString) |
SOAPFault |
addFault(Name faultCode,
String faultString,
Locale locale) |
SOAPFault |
addFault(QName faultCode,
String faultString) |
SOAPFault |
addFault(QName faultCode,
String faultString,
Locale locale) |
Node |
appendChild(Node newChild) |
Document |
extractContentAsDocument() |
SOAPBodyElement |
getBodyElement() |
SOAPFault |
getFault() |
boolean |
hasFault() |
Node |
insertBefore(Node newChild,
Node refChild) |
Node |
replaceChild(Node newChild,
Node oldChild) |
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, 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, writeElementContentcloneNode, compareDocumentPosition, detachNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getValue, hasAttributes, hasChildNodes, hashCode, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeChild, setNodeValue, setParentElement, setTextContent, setUserData, setValue, toStringclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitaddAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, 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, setIdAttributeNScloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic 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 SOAPBodyElement addBodyElement(Name name) throws SOAPException
addBodyElement in interface SOAPBodySOAPExceptionpublic SOAPBodyElement addBodyElement(QName qname) throws SOAPException
addBodyElement in interface SOAPBodySOAPExceptionpublic SOAPBodyElement addDocument(Document doc) throws SOAPException
addDocument in interface SOAPBodySOAPExceptionpublic SOAPFault addFault() throws SOAPException
addFault in interface SOAPBodySOAPExceptionpublic SOAPFault addFault(Name faultCode, String faultString) throws SOAPException
addFault in interface SOAPBodySOAPExceptionpublic SOAPFault addFault(QName faultCode, String faultString) throws SOAPException
addFault in interface SOAPBodySOAPExceptionpublic SOAPFault addFault(Name faultCode, String faultString, Locale locale) throws SOAPException
addFault in interface SOAPBodySOAPExceptionpublic SOAPFault addFault(QName faultCode, String faultString, Locale locale) throws SOAPException
addFault in interface SOAPBodySOAPExceptionpublic SOAPBodyElement getBodyElement()
public Node appendChild(Node newChild) throws DOMException
appendChild in interface NodeappendChild in class NodeImplDOMExceptionpublic Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore in interface NodeinsertBefore in class NodeImplDOMExceptionpublic Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild in interface NodereplaceChild in class NodeImplDOMExceptionpublic 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 Document extractContentAsDocument() throws SOAPException
extractContentAsDocument in interface SOAPBodySOAPExceptionCopyright © 2013 JBoss, by Red Hat. All Rights Reserved.