Example usage for Java com.google.gwt.xml.client Node fields, constructors, methods, implement or subclass
The text is from its open source code.
short | ELEMENT_NODE The constant 1 denotes DOM nodes of type Element. |
short | ATTRIBUTE_NODE The constant 2 denotes DOM nodes of type Attribute. |
short | TEXT_NODE The constant 3 denotes DOM nodes of type Text. |
short | CDATA_SECTION_NODE The constant 4 denotes DOM nodes of type CdataSection. |
short | PROCESSING_INSTRUCTION_NODE The constant 7 denotes DOM nodes of type ProcessingInstruction. |
short | COMMENT_NODE The constant 8 denotes DOM nodes of type Comment. |
short | DOCUMENT_NODE The constant 9 denotes DOM nodes of type Document. |
short | DOCUMENT_FRAGMENT_NODE The constant 11 denotes DOM nodes of type DocumentFragment. |
Node | appendChild(Node newChild) This method appends child newChild . |
NamedNodeMap | getAttributes() This method retrieves the attributes. |
NodeList | getChildNodes() This method retrieves the child nodes. |
Node | getFirstChild() This method retrieves the first child. |
Node | getLastChild() This method retrieves the last child. |
String | getNamespaceURI() This method retrieves the namespace URI. |
Node | getNextSibling() This method retrieves the next sibling. |
String | getNodeName() This method retrieves the name. |
short | getNodeType() This method retrieves the type. |
String | getNodeValue() This method retrieves the value. |
Document | getOwnerDocument() This method retrieves the owner document. |
Node | getParentNode() This method retrieves the parent. |
String | getPrefix() This method retrieves the prefix. |
boolean | hasAttributes() This method determines whether this Node has any attributes. |
boolean | hasChildNodes() This method determines whether this Node has any child nodes. |
Node | insertBefore(Node newChild, Node refChild) This method inserts before newChild . |
void | normalize() This method may collapse adjacent text nodes into one text node, depending on the implementation. |
Node | removeChild(Node oldChild) This method removes child oldChild . |
Node | replaceChild(Node newChild, Node oldChild) This method replaces the child oldChild with newChild . |
void | setNodeValue(String nodeValue) This method sets the value to nodeValue . |