Example usage for Java javax.xml.soap SOAPBody fields, constructors, methods, implement or subclass
The text is from its open source code.
SOAPElement | addAttribute(Name name, String value) Adds an attribute with the specified name and value to this SOAPElement object. |
SOAPBodyElement | addBodyElement(Name name) Creates a new SOAPBodyElement object with the specified name and adds it to this SOAPBody object. |
SOAPBodyElement | addBodyElement(QName qname) Creates a new SOAPBodyElement object with the specified QName and adds it to this SOAPBody object. |
SOAPElement | addChildElement(Name name) Creates a new SOAPElement object initialized with the given Name object and adds the new element to this SOAPElement object. |
SOAPElement | addChildElement(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. |
SOAPElement | addChildElement(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. |
SOAPBodyElement | addDocument(org.w3c.dom.Document document) Adds the root node of the DOM org.w3c.dom.Document to this SOAPBody object. |
SOAPFault | addFault(Name faultCode, String faultString) Creates a new SOAPFault object and adds it to this SOAPBody object. |
SOAPFault | addFault(QName faultCode, String faultString) Creates a new SOAPFault object and adds it to this SOAPBody object. |
SOAPFault | addFault() Creates a new SOAPFault object and adds it to this SOAPBody object. |
SOAPElement | addNamespaceDeclaration(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
SOAPElement | addTextNode(String text) Creates a new Text object initialized with the given String and adds it to this SOAPElement object. |
Node | appendChild(Node newChild) Adds the node newChild to the end of the list of children of this node. |
void | detachNode() Removes this Node object from the tree. |
String | getAttributeNS(String namespaceURI, String localName) Retrieves an attribute value by local name and namespace URI. |
Iterator | getChildElements(Name name) Returns an Iterator over all the immediate child Node s of this element with the specified name. |
Iterator | getChildElements() Returns an Iterator over all the immediate child Node s of this element. |
NodeList | getChildNodes() A NodeList that contains all children of this node. |
NodeList | getElementsByTagName(String name) Returns a NodeList of all descendant Elements with a given tag name, in document order. |
NodeList | getElementsByTagNameNS(String namespaceURI, String localName) Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order. |
SOAPFault | getFault() Returns the SOAPFault object in this SOAPBody object. |
Node | getFirstChild() The first child of this node. |
Document | getOwnerDocument() The Document object associated with this node. |
boolean | hasChildNodes() Returns whether this node has any children. |
boolean | hasFault() Indicates whether a SOAPFault object exists in this SOAPBody object. |
void | removeContents() Detaches all children of this SOAPElement . |
void | setEncodingStyle(String encodingStyle) Sets the encoding style for this SOAPElement object to one specified. |
void | setParentElement(SOAPElement parent) Sets the parent of this Node object to the given SOAPElement object. |
void | setPrefix(String prefix) The namespace prefix of this node, or null if it is unspecified. |