- asElement
Casts this node to be an element node if it is an element node, returning null
if this node is not a
- getDocumentElement
This is a convenience attribute that allows direct access to the child node that
is the document ele
- getFirstChild
Gets the first child of the given node.
- getLastChild
Gets the last child of the given node.
- asText
Casts this node to be a text node if it is a text node, returning null if this
node is not a text no
- getAttribute
Gets the attribute of the given element node which has the given name.
- getAttributes
Gets the attributes of the given element node. It is undefined whether or not
this map is a live map
- getData
Gets the character data of a text node.
- getLength
Gets the length of the character data of a text node.
- getNextSibling
Gets the next sibling of the given node.
- getNodeType
Gets the type of the given node. The possible return values are defined in
org.waveprotocol.wave.mod
- getParentElement
Gets the element node that is the parent of the given node.