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

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

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

    Methods in javax.xml.soap that return Name
    Modifier and Type | Method and Description
    --- | ---
    `abstract Name` | SOAPFactory.`createName(String localName)` Creates a new `Name` object initialized with the given local name.
    `Name` | SOAPEnvelope.`createName(String localName)` Creates a new `Name` object initialized with the given local name.
    `abstract Name` | SOAPFactory.`createName(String localName, String prefix, String uri)` Creates a new `Name` object initialized with the given local name, namespace prefix, and namespace URI.
    `Name` | SOAPEnvelope.`createName(String localName, String prefix, String uri)` Creates a new `Name` object initialized with the given local name, namespace prefix, and namespace URI.
    `Name` | SOAPElement.`getElementName()` Returns the name of this `SOAPElement` object.
    `Name` | SOAPFault.`getFaultCodeAsName()` Gets the mandatory SOAP 1.1 fault code for this `SOAPFault` object as a SAAJ `Name` object.

    Methods in javax.xml.soap with parameters of type Name
    Modifier and Type | Method and Description
    --- | ---
    `SOAPElement` | SOAPElement.`addAttribute(Name name, String value)` Adds an attribute with the specified name and value to this `SOAPElement` object.
    `SOAPBodyElement` | SOAPBody.`addBodyElement(Name name)` Creates a new `SOAPBodyElement` object with the specified name and adds it to this `SOAPBody` 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.
    `DetailEntry` | Detail.`addDetailEntry(Name name)` Creates a new `DetailEntry` object with the given name and adds it to this `Detail` object.
    `SOAPFault` | SOAPBody.`addFault(Name faultCode, String faultString)` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `SOAPFault` | SOAPBody.`addFault(Name faultCode, String faultString, Locale locale)` Creates a new `SOAPFault` object and adds it to this `SOAPBody` object.
    `SOAPHeaderElement` | SOAPHeader.`addHeaderElement(Name name)` Creates a new `SOAPHeaderElement` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPElement` | SOAPElementFactory.`create(Name name)` Deprecated. Use javax.xml.soap.SOAPFactory.createElement(javax.xml.soap.Name) instead
    `abstract SOAPElement` | SOAPFactory.`createElement(Name name)` Creates a `SOAPElement` object initialized with the given `Name` object.
    `String` | SOAPElement.`getAttributeValue(Name name)` Returns the value of the attribute with the specified name.
    `Iterator` | SOAPElement.`getChildElements(Name name)` Returns an `Iterator` over all the immediate child `Node`s of this element with the specified name.
    `boolean` | SOAPElement.`removeAttribute(Name name)` Removes the attribute with the specified name.
    `void` | SOAPFault.`setFaultCode(Name faultCodeQName)` Sets this `SOAPFault` object with the given fault code.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.