Java com.google.gwt.xml.client Node fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.xml.client Node fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.xml.client Node.

The text is from its open source code.

Implementation

com.google.gwt.xml.client.Node has the following implementations.
Click this link to see all its implementation.

Field

shortELEMENT_NODE
The constant 1 denotes DOM nodes of type Element.
shortATTRIBUTE_NODE
The constant 2 denotes DOM nodes of type Attribute.
shortTEXT_NODE
The constant 3 denotes DOM nodes of type Text.
shortCDATA_SECTION_NODE
The constant 4 denotes DOM nodes of type CdataSection.
shortPROCESSING_INSTRUCTION_NODE
The constant 7 denotes DOM nodes of type ProcessingInstruction.
shortCOMMENT_NODE
The constant 8 denotes DOM nodes of type Comment.
shortDOCUMENT_NODE
The constant 9 denotes DOM nodes of type Document.
shortDOCUMENT_FRAGMENT_NODE
The constant 11 denotes DOM nodes of type DocumentFragment.

Method

NodeappendChild(Node newChild)
This method appends child newChild.
NamedNodeMapgetAttributes()
This method retrieves the attributes.
NodeListgetChildNodes()
This method retrieves the child nodes.
NodegetFirstChild()
This method retrieves the first child.
NodegetLastChild()
This method retrieves the last child.
StringgetNamespaceURI()
This method retrieves the namespace URI.
NodegetNextSibling()
This method retrieves the next sibling.
StringgetNodeName()
This method retrieves the name.
shortgetNodeType()
This method retrieves the type.
StringgetNodeValue()
This method retrieves the value.
DocumentgetOwnerDocument()
This method retrieves the owner document.
NodegetParentNode()
This method retrieves the parent.
StringgetPrefix()
This method retrieves the prefix.
booleanhasAttributes()
This method determines whether this Node has any attributes.
booleanhasChildNodes()
This method determines whether this Node has any child nodes.
NodeinsertBefore(Node newChild, Node refChild)
This method inserts before newChild.
voidnormalize()
This method may collapse adjacent text nodes into one text node, depending on the implementation.
NoderemoveChild(Node oldChild)
This method removes child oldChild.
NodereplaceChild(Node newChild, Node oldChild)
This method replaces the child oldChild with newChild.
voidsetNodeValue(String nodeValue)
This method sets the value to nodeValue.