final
<T extends Node>
T
|
appendChild(T newChild)
Adds the node newChild to the end of the list of children of this node.
|
static
Node
|
as(JavaScriptObject o)
Assert that the given JavaScriptObject is a DOM node and
automatically typecast it.
|
final
Node
|
cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy
constructor for nodes.
|
final
Node
|
getChild(int index)
Gets the child node at the given index.
|
final
int
|
getChildCount()
Gets the number of child nodes contained within this node.
|
final
NodeList<Node>
|
getChildNodes()
A NodeList that contains all children of this node.
|
final
Node
|
getFirstChild()
The first child of this node.
|
final
Node
|
getLastChild()
The last child of this node.
|
final
Node
|
getNextSibling()
The node immediately following this node.
|
final
String
|
getNodeName()
The name of this node, depending on its type; see the table above.
|
final
short
|
getNodeType()
A code representing the type of the underlying object, as defined above.
|
final
String
|
getNodeValue()
The value of this node, depending on its type; see the table above.
|
final
Document
|
getOwnerDocument()
The Document object associated with this node.
|
final
Element
|
getParentElement()
Gets the parent element of this node.
|
final
Node
|
getParentNode()
The parent of this node.
|
final
Node
|
getPreviousSibling()
The node immediately preceding this node.
|
final
boolean
|
hasChildNodes()
Returns whether this node has any children.
|
final
boolean
|
hasParentElement()
Determines whether this node has a parent element.
|
final
Node
|
insertAfter(Node newChild, Node refChild)
Inserts the node newChild after the existing child node refChild.
|
final
Node
|
insertBefore(Node newChild, Node refChild)
Inserts the node newChild before the existing child node refChild.
|
final
Node
|
insertFirst(Node child)
Inserts the given child as the first child of this node.
|
static
boolean
|
is(JavaScriptObject o)
|
final
boolean
|
isOrHasChild(Node child)
Determine whether a node is equal to, or the child of, this node.
|
final
Node
|
removeChild(Node oldChild)
Removes the child node indicated by oldChild from the list of children, and
returns it.
|
final
void
|
removeFromParent()
Removes this node from its parent node if it is attached to one.
|
final
Node
|
replaceChild(Node newChild, Node oldChild)
Replaces the child node oldChild with newChild in the list of children, and
returns the oldChild node.
|
final
void
|
setNodeValue(String nodeValue)
The value of this node, depending on its type; see the table above.
|