Java javax.xml.soap SOAPBody fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.soap SOAPBody fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.soap SOAPBody.

The text is from its open source code.

Implementation

javax.xml.soap.SOAPBody has the following implementations.
Click this link to see all its implementation.

Method

SOAPElementaddAttribute(Name name, String value)
Adds an attribute with the specified name and value to this SOAPElement object.
SOAPBodyElementaddBodyElement(Name name)
Creates a new SOAPBodyElement object with the specified name and adds it to this SOAPBody object.
SOAPBodyElementaddBodyElement(QName qname)
Creates a new SOAPBodyElement object with the specified QName and adds it to this SOAPBody object.
SOAPElementaddChildElement(Name name)
Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object.
SOAPElementaddChildElement(String localName, String prefix, String uri)
Creates a new SOAPElement object initialized with the specified local name, prefix, and URI and adds the new element to this SOAPElement object.
SOAPElementaddChildElement(String localName, String prefix)
Creates a new SOAPElement object initialized with the specified local name and prefix and adds the new element to this SOAPElement object.
SOAPBodyElementaddDocument(org.w3c.dom.Document document)
Adds the root node of the DOM org.w3c.dom.Document to this SOAPBody object.
SOAPFaultaddFault(Name faultCode, String faultString)
Creates a new SOAPFault object and adds it to this SOAPBody object.
SOAPFaultaddFault(QName faultCode, String faultString)
Creates a new SOAPFault object and adds it to this SOAPBody object.
SOAPFaultaddFault()
Creates a new SOAPFault object and adds it to this SOAPBody object.
SOAPElementaddNamespaceDeclaration(String prefix, String uri)
Adds a namespace declaration with the specified prefix and URI to this SOAPElement object.
SOAPElementaddTextNode(String text)
Creates a new Text object initialized with the given String and adds it to this SOAPElement object.
NodeappendChild(Node newChild)
Adds the node newChild to the end of the list of children of this node.
voiddetachNode()
Removes this Node object from the tree.
StringgetAttributeNS(String namespaceURI, String localName)
Retrieves an attribute value by local name and namespace URI.
IteratorgetChildElements(Name name)
Returns an Iterator over all the immediate child Node s of this element with the specified name.
IteratorgetChildElements()
Returns an Iterator over all the immediate child Node s of this element.
NodeListgetChildNodes()
A NodeList that contains all children of this node.
NodeListgetElementsByTagName(String name)
Returns a NodeList of all descendant Elements with a given tag name, in document order.
NodeListgetElementsByTagNameNS(String namespaceURI, String localName)
Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order.
SOAPFaultgetFault()
Returns the SOAPFault object in this SOAPBody object.
NodegetFirstChild()
The first child of this node.
DocumentgetOwnerDocument()
The Document object associated with this node.
booleanhasChildNodes()
Returns whether this node has any children.
booleanhasFault()
Indicates whether a SOAPFault object exists in this SOAPBody object.
voidremoveContents()
Detaches all children of this SOAPElement .
voidsetEncodingStyle(String encodingStyle)
Sets the encoding style for this SOAPElement object to one specified.
voidsetParentElement(SOAPElement parent)
Sets the parent of this Node object to the given SOAPElement object.
voidsetPrefix(String prefix)
The namespace prefix of this node, or null if it is unspecified.