Package | Description |
---|---|
org.w3c.dom |
The org.w3c.dom package provides the Java ME DOM API defined by
JSR 280.
|
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.
|
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
. |
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.