## Uses of Interface
javax.xml.soap.SOAPElement

### Uses of SOAPElement in javax.xml.soap

Subinterfaces of SOAPElement in javax.xml.soap
`interface` `Detail` A container for `DetailEntry` objects.
`interface` `DetailEntry` The content for a `Detail` object, giving details for a `SOAPFault` object.
`interface` `SOAPBody` An object that represents the contents of the SOAP body element in a SOAP message.
`interface` `SOAPBodyElement` A `SOAPBodyElement` object represents the contents in a `SOAPBody` object.
`interface` `SOAPEnvelope` The container for the SOAPHeader and SOAPBody portions of a `SOAPPart` object.
`interface` `SOAPFault` An element in the `SOAPBody` object that contains error and/or status information.
`interface` `SOAPFaultElement` A representation of the contents in a `SOAPFault` object.
`interface` `SOAPHeader` A representation of the SOAP header element.
`interface` `SOAPHeaderElement` An object representing the contents in the SOAP header part of the SOAP envelope.

Methods in javax.xml.soap that return SOAPElement
`SOAPElement` SOAPElement.`addAttribute​(QName qname, String value)` Adds an attribute with the specified name and value to this `SOAPElement` object.
`SOAPElement` SOAPElement.`addAttribute​(Name name, String value)` Adds an attribute with the specified name and value to this `SOAPElement` object.
`SOAPElement` SOAPElement.`addChildElement​(String localName)` Creates a new `SOAPElement` object initialized with the specified local name and adds the new element to this `SOAPElement` object.
`SOAPElement` 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.
`SOAPElement` 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` SOAPElement.`addChildElement​(QName qname)` Creates a new `SOAPElement` object initialized with the given `QName` object and adds the new element to this `SOAPElement` object.
`SOAPElement` 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` SOAPElement.`addChildElement​(SOAPElement element)` Add a `SOAPElement` as a child of this `SOAPElement` instance.
`SOAPElement` SOAPElement.`addNamespaceDeclaration​(String prefix, String uri)` Adds a namespace declaration with the specified prefix and URI to this `SOAPElement` object.
`SOAPElement` SOAPElement.`addTextNode​(String text)` Creates a new `Text` object initialized with the given `String` and adds it to this `SOAPElement` object.
`SOAPElement` SOAPElementFactory.`create​(String localName)` Deprecated. Use javax.xml.soap.SOAPFactory.createElement(String localName) instead
`SOAPElement` SOAPElementFactory.`create​(String localName, String prefix, String uri)` Deprecated. Use javax.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) instead
`SOAPElement` SOAPElementFactory.`create​(Name name)` Deprecated. Use javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name) instead
`abstract SOAPElement` SOAPFactory.`createElement​(String localName)` Creates a `SOAPElement` object initialized with the given local name.
`abstract SOAPElement` SOAPFactory.`createElement​(String localName, String prefix, String uri)` Creates a new `SOAPElement` object with the given local name, prefix and uri.
`SOAPElement` SOAPFactory.`createElement​(QName qname)` Creates a `SOAPElement` object initialized with the given `QName` object.
`abstract SOAPElement` SOAPFactory.`createElement​(Name name)` Creates a `SOAPElement` object initialized with the given `Name` object.
`SOAPElement` SOAPFactory.`createElement​(Element domElement)` Creates a `SOAPElement` object from an existing DOM `Element`.
`SOAPElement` Node.`getParentElement​()` Returns the parent element of this `Node` object.
`SOAPElement` SOAPElement.`setElementQName​(QName newName)` Changes the name of this `Element` to `newName` if possible.

Methods in javax.xml.soap with parameters of type SOAPElement
`SOAPElement` SOAPElement.`addChildElement​(SOAPElement element)` Add a `SOAPElement` as a child of this `SOAPElement` instance.
`abstract AttachmentPart` SOAPMessage.`getAttachment​(SOAPElement element)` Returns an `AttachmentPart` object that is associated with an attachment that is referenced by this `SOAPElement` or `null` if no such attachment exists.
`void` Node.`setParentElement​(SOAPElement parent)` Sets the parent of this `Node` object to the given `SOAPElement` object.

Constructors in javax.xml.soap with parameters of type SOAPElement
`SAAJResult​(SOAPElement rootNode)` Creates a `SAAJResult` that will write the results as a child node of the `SOAPElement` specified.