API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.soap. SOAPBody View Source
Author(s)
Since
Version
Serial
Hierarchy
 Node
      Node
          SOAPElement
              SOAPBody
Subinterfaces
Description
public interface SOAPBody
  An object that represents the contents of the SOAP body element in a SOAP message.
See also:    SOAPFault
Methods
Hide/Show inherited methods
public SOAPBodyElement addBodyElement (Name name) throws SOAPException
  Creates a new SOAPBodyElement object with the specified name and adds it to this SOAPBody object.
public SOAPBodyElement addBodyElement (QName qname) throws SOAPException
  Creates a new SOAPBodyElement object with the specified QName and adds it to this SOAPBody object.
public SOAPBodyElement addDocument (Document document) throws SOAPException
  Adds the root node of the DOM Document to this SOAPBody object.
public SOAPFault addFault () throws SOAPException
  Creates a new SOAPFault object and adds it to this SOAPBody object.
public SOAPFault addFault (Name faultCode, String faultString) throws SOAPException
  Creates a new SOAPFault object and adds it to this SOAPBody object.
public SOAPFault addFault (Name faultCode, String faultString, Locale locale) throws SOAPException
  Creates a new SOAPFault object and adds it to this SOAPBody object.
public SOAPFault addFault (QName faultCode, String faultString) throws SOAPException
  Creates a new SOAPFault object and adds it to this SOAPBody object.
public SOAPFault addFault (QName faultCode, String faultString, Locale locale) throws SOAPException
  Creates a new SOAPFault object and adds it to this SOAPBody object.
public Document extractContentAsDocument () throws SOAPException
  Creates a new DOM Document and sets the first child of this SOAPBody as it's document element.
public SOAPFault getFault ()
  Returns the SOAPFault object in this SOAPBody object.
public boolean hasFault ()
  Indicates whether a SOAPFault object exists in this SOAPBody object.
Fields
Hide/Show inherited fields
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From SOAPElement]
The node is an Attr.
publicfinalstatic short ATTRIBUTE_NODE = "2" [Inherited From SOAPElement]
The node is an Attr.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From SOAPElement]
The node is a CDATASection.
publicfinalstatic short CDATA_SECTION_NODE = "4" [Inherited From SOAPElement]
The node is a CDATASection.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From SOAPElement]
The node is a Comment.
publicfinalstatic short COMMENT_NODE = "8" [Inherited From SOAPElement]
The node is a Comment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From SOAPElement]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_FRAGMENT_NODE = "11" [Inherited From SOAPElement]
The node is a DocumentFragment.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From SOAPElement]
The node is a Document.
publicfinalstatic short DOCUMENT_NODE = "9" [Inherited From SOAPElement]
The node is a Document.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From SOAPElement]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINED_BY = "16" [Inherited From SOAPElement]
  The node is contained by the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From SOAPElement]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_CONTAINS = "8" [Inherited From SOAPElement]
  The node contains the reference node.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From SOAPElement]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_DISCONNECTED = "1" [Inherited From SOAPElement]
  The two nodes are disconnected.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From SOAPElement]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_FOLLOWING = "4" [Inherited From SOAPElement]
The node follows the reference node.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From SOAPElement]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = "32" [Inherited From SOAPElement]
The determination of preceding versus following is implementation-specific.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From SOAPElement]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_POSITION_PRECEDING = "2" [Inherited From SOAPElement]
The second node precedes the reference node.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From SOAPElement]
The node is a DocumentType.
publicfinalstatic short DOCUMENT_TYPE_NODE = "10" [Inherited From SOAPElement]
The node is a DocumentType.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From SOAPElement]
The node is an Element.
publicfinalstatic short ELEMENT_NODE = "1" [Inherited From SOAPElement]
The node is an Element.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From SOAPElement]
The node is an Entity.
publicfinalstatic short ENTITY_NODE = "6" [Inherited From SOAPElement]
The node is an Entity.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From SOAPElement]
The node is an EntityReference.
publicfinalstatic short ENTITY_REFERENCE_NODE = "5" [Inherited From SOAPElement]
The node is an EntityReference.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From SOAPElement]
The node is a Notation.
publicfinalstatic short NOTATION_NODE = "12" [Inherited From SOAPElement]
The node is a Notation.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From SOAPElement]
The node is a ProcessingInstruction.
publicfinalstatic short PROCESSING_INSTRUCTION_NODE = "7" [Inherited From SOAPElement]
The node is a ProcessingInstruction.
publicfinalstatic short TEXT_NODE = "3" [Inherited From SOAPElement]
The node is a Text node.
publicfinalstatic short TEXT_NODE = "3" [Inherited From SOAPElement]
The node is a Text node.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar