## Uses of Interface
org.w3c.dom.Attr

- Packages that use Attr
  Package | Description
  --- | ---
  org.w3c.dom | Provides the interfaces for the Document Object Model (DOM).

- - ### Uses of Attr in org.w3c.dom

    Methods in org.w3c.dom that return Attr
    Modifier and Type | Method and Description
    --- | ---
    `Attr` | Document.`createAttribute(String name)` Creates an `Attr` of the given name.
    `Attr` | Document.`createAttributeNS(String namespaceURI, String qualifiedName)` Creates an attribute of the given qualified name and namespace URI.
    `Attr` | Element.`getAttributeNode(String name)` Retrieves an attribute node by name.
    `Attr` | Element.`getAttributeNodeNS(String namespaceURI, String localName)` Retrieves an `Attr` node by local name and namespace URI.
    `Attr` | Element.`removeAttributeNode(Attr oldAttr)` Removes the specified attribute node.
    `Attr` | Element.`setAttributeNode(Attr newAttr)` Adds a new attribute node.
    `Attr` | Element.`setAttributeNodeNS(Attr newAttr)` Adds a new attribute.

    Methods in org.w3c.dom with parameters of type Attr
    Modifier and Type | Method and Description
    --- | ---
    `Attr` | Element.`removeAttributeNode(Attr oldAttr)` Removes the specified attribute node.
    `Attr` | Element.`setAttributeNode(Attr newAttr)` Adds a new attribute node.
    `Attr` | Element.`setAttributeNodeNS(Attr newAttr)` Adds a new attribute.
    `void` | Element.`setIdAttributeNode(Attr idAttr, boolean isId)` If the parameter `isId` is `true`, this method declares the specified attribute to be a user-determined ID attribute .

Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2005, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.