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

- Packages that use SOAPHeaderElement
  Package | Description
  --- | ---
  javax.xml.soap | Provides the API for creating and building SOAP messages.

- - ### Uses of SOAPHeaderElement in javax.xml.soap

    Methods in javax.xml.soap that return SOAPHeaderElement
    Modifier and Type | Method | Description
    --- | --- | ---
    `SOAPHeaderElement` | SOAPHeader.`addHeaderElement​(QName qname)` | Creates a new `SOAPHeaderElement` object initialized with the specified qname and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addHeaderElement​(Name name)` | Creates a new `SOAPHeaderElement` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addNotUnderstoodHeaderElement​(QName name)` | Creates a new NotUnderstood `SOAPHeaderElement` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addUpgradeHeaderElement​(String supportedSoapUri)` | Creates a new Upgrade `SOAPHeaderElement` object initialized with the specified supported SOAP URI and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addUpgradeHeaderElement​(String[] supportedSoapUris)` | Creates a new Upgrade `SOAPHeaderElement` object initialized with the specified array of supported SOAP URIs and adds it to this `SOAPHeader` object.
    `SOAPHeaderElement` | SOAPHeader.`addUpgradeHeaderElement​(Iterator<String> supportedSOAPURIs)` | Creates a new Upgrade `SOAPHeaderElement` object initialized with the specified String Iterator of supported SOAP URIs and adds it to this `SOAPHeader` object.

    Methods in javax.xml.soap that return types with arguments of type SOAPHeaderElement
    Modifier and Type | Method | Description
    --- | --- | ---
    `Iterator<SOAPHeaderElement>` | SOAPHeader.`examineAllHeaderElements​()` | Returns an `Iterator` over all the `SOAPHeaderElement` objects in this `SOAPHeader` object.
    `Iterator<SOAPHeaderElement>` | SOAPHeader.`examineHeaderElements​(String actor)` | Returns an `Iterator` over all the `SOAPHeaderElement` objects in this `SOAPHeader` object that have the specified actor.
    `Iterator<SOAPHeaderElement>` | SOAPHeader.`examineMustUnderstandHeaderElements​(String actor)` | Returns an `Iterator` over all the `SOAPHeaderElement` objects in this `SOAPHeader` object that have the specified actor and that have a MustUnderstand attribute whose value is equivalent to `true`.
    `Iterator<SOAPHeaderElement>` | SOAPHeader.`extractAllHeaderElements​()` | Returns an `Iterator` over all the `SOAPHeaderElement` objects in this `SOAPHeader` object and detaches them from this `SOAPHeader` object.
    `Iterator<SOAPHeaderElement>` | SOAPHeader.`extractHeaderElements​(String actor)` | Returns an `Iterator` over all the `SOAPHeaderElement` objects in this `SOAPHeader` object that have the specified actor and detaches them from this `SOAPHeader` object.