javax.xml.soap
Interface SOAPBody

All Superinterfaces:
org.w3c.dom.Element, Node (src) , org.w3c.dom.Node, SOAPElement (src)
All Known Implementing Classes:
SOAPBodyImpl (src)

public interface SOAPBody
extends SOAPElement (src)

An object that represents the contents of the SOAP body element in a SOAP message. A SOAP body element consists of XML data that affects the way the application-specific content is processed. A SOAPBody object contains SOAPBodyElement objects, which have the content for the SOAP body. A SOAPFault object, which carries status and/or error information, is an example of a SOAPBodyElement object.


Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 SOAPBodyElement (src) addBodyElement(Name (src)  name)
           
 SOAPBodyElement (src) addDocument(org.w3c.dom.Document doc)
           
 SOAPFault (src) addFault()
           
 SOAPFault (src) addFault(Name (src)  faultCode, java.lang.String faultString)
           
 SOAPFault (src) addFault(Name (src)  faultCode, java.lang.String faultString, java.util.Locale locale)
           
 SOAPFault (src) getFault()
           
 boolean hasFault()
           
 
Methods inherited from interface javax.xml.soap.SOAPElement (src)
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, getAllAttributes, getAttributeValue, getChildElements, getChildElements, getElementName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeContents, removeNamespaceDeclaration, setEncodingStyle
 
Methods inherited from interface javax.xml.soap.Node (src)
detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 

Method Detail

addBodyElement

public SOAPBodyElement (src)  addBodyElement(Name (src)  name)
                               throws SOAPException (src) 
Throws:
SOAPException (src)

addDocument

public SOAPBodyElement (src)  addDocument(org.w3c.dom.Document doc)
                            throws SOAPException (src) 
Throws:
SOAPException (src)

addFault

public SOAPFault (src)  addFault()
                   throws SOAPException (src) 
Throws:
SOAPException (src)

addFault

public SOAPFault (src)  addFault(Name (src)  faultCode,
                          java.lang.String faultString)
                   throws SOAPException (src) 
Throws:
SOAPException (src)

addFault

public SOAPFault (src)  addFault(Name (src)  faultCode,
                          java.lang.String faultString,
                          java.util.Locale locale)
                   throws SOAPException (src) 
Throws:
SOAPException (src)

getFault

public SOAPFault (src)  getFault()

hasFault

public boolean hasFault()