当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
SOAPBody (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
javax.xml.soap
Interface SOAPBody
- All Superinterfaces:
- Element, Node, Node, SOAPElement
- public interface SOAPBody
- extends SOAPElement
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.
- Version:
- $Revision: 1.1 $
- Author:
- Scott.Stark@jboss.org
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 |
Methods inherited from interface javax.xml.soap.SOAPElement |
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 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 |
addBodyElement
public SOAPBodyElement addBodyElement(Name name)
throws SOAPException
- Throws:
SOAPException
addDocument
public SOAPBodyElement addDocument(Document doc)
throws SOAPException
- Throws:
SOAPException
addFault
public SOAPFault addFault()
throws SOAPException
- Throws:
SOAPException
addFault
public SOAPFault addFault(Name faultCode,
String faultString)
throws SOAPException
- Throws:
SOAPException
addFault
public SOAPFault addFault(Name faultCode,
String faultString,
Locale locale)
throws SOAPException
- Throws:
SOAPException
getFault
public SOAPFault getFault()
hasFault
public boolean hasFault()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.