| Package | Description |
|---|---|
| org.w3c.dom |
| Modifier and Type | Method and Description |
|---|---|
Attr |
Document.createAttribute(java.lang.String name)
Creates an
Attr of the given name. |
Attr |
Document.createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Creates an attribute of the given qualified name and namespace URI.
|
Attr |
Element.getAttributeNode(java.lang.String name)
Retrieves an attribute node by name.
|
Attr |
Element.getAttributeNodeNS(java.lang.String namespaceURI,
java.lang.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.
|
| 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.
|