Example usage for Java javax.xml.soap SOAPEnvelope 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. |
SOAPBody | addBody() Creates a SOAPBody object and sets it as the SOAPBody object for this SOAPEnvelope object. |
SOAPHeader | addHeader() Creates a SOAPHeader object and sets it as the SOAPHeader object for this SOAPEnvelope object. |
SOAPElement | addNamespaceDeclaration(String prefix, String uri) Adds a namespace declaration with the specified prefix and URI to this SOAPElement object. |
Name | createName(String localName, String prefix, String uri) Creates a new Name object initialized with the given local name, namespace prefix, and namespace URI. |
Name | createName(String localName) Creates a new Name object initialized with the given local name. |
String | getAttribute(String name) Retrieves an attribute value by name. |
SOAPBody | getBody() Returns the SOAPBody object associated with this SOAPEnvelope object. |
Node | getFirstChild() The first child of this node. |
SOAPHeader | getHeader() Returns the SOAPHeader object for this SOAPEnvelope object. |
Iterator | getNamespacePrefixes() Returns an Iterator over the namespace prefix String s declared by this element. |
String | getNamespaceURI(String prefix) Returns the URI of the namespace that has the given prefix. |
String | getNamespaceURI() The namespace URI of this node, or null if it is unspecified (see ). |
Document | getOwnerDocument() The Document object associated with this node. |
Node | removeChild(Node oldChild) Removes the child node indicated by oldChild from the list of children, and returns it. |
boolean | removeNamespaceDeclaration(String prefix) Removes the namespace declaration corresponding to the given prefix. |
void | setEncodingStyle(String encodingStyle) Sets the encoding style for this SOAPElement object to one specified. |
void | setPrefix(String prefix) The namespace prefix of this node, or null if it is unspecified. |
String | toString() Returns a string representation of the object. |