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 |
---|---|
Element |
Document.createElement(java.lang.String tagName)
Creates an element of the type specified.
|
Element |
Document.createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
Creates an element of the given qualified name and namespace URI.
|
Element |
Document.getDocumentElement()
This is a convenience attribute that allows direct access to the child
node that is the root element of the document.
|
Element |
Document.getElementById(java.lang.String elementId)
Returns the
Element that has an ID attribute with the
given value. |
Element |
ElementTraversal.getFirstElementChild()
Retrieves the first child element.
|
Element |
ElementTraversal.getLastElementChild()
Retrieves the last child element.
|
Element |
ElementTraversal.getNextElementSibling()
Retrieves the next sibling element.
|
Element |
Attr.getOwnerElement()
The
Element node this attribute is attached to or
null if this attribute is not in use. |
Element |
ElementTraversal.getPreviousElementSibling()
Retrieves the previous sibling element.
|
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.