Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.w3c.dom.Node

Packages that use Node
org.w3c.dom | The Document Object Model (DOM™) is a Recommendation of the World Wide Web Consortium, defining programming interfaces for XML (and, optionally, HTML) documents.

Uses of Node in org.w3c.dom

Subinterfaces of Node in org.w3c.dom
`interface` | `Attr` The `Attr` interface represents an attribute in an `Element` object.
`interface` | `CDATASection` CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
`interface` | `CharacterData` The `CharacterData` interface extends Node with a set of attributes and methods for accessing character data in the DOM.
`interface` | `Comment` This represents the content of a comment, i.e., all the characters between the starting '`<!--`' and ending '`-->`'.
`interface` | `Document` The `Document` interface represents the entire HTML or XML document.
`interface` | `DocumentFragment` `DocumentFragment` is a "lightweight" or "minimal" `Document` object.
`interface` | `DocumentType` Each `Document` has a `doctype` attribute whose value is either `null` or a `DocumentType` object.
`interface` | `Element` By far the vast majority of objects (apart from text) that authors encounter when traversing a document are `Element` nodes.
`interface` | `Entity` This interface represents an entity, either parsed or unparsed, in an XML document.
`interface` | `EntityReference` `EntityReference` objects may be inserted into the structure model when an entity reference is in the source document, or when the user wishes to insert an entity reference.
`interface` | `Notation` This interface represents a notation declared in the DTD.
`interface` | `ProcessingInstruction` The `ProcessingInstruction` interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
`interface` | `Text` The `Text` interface represents the textual content (termed character data in XML) of an `Element` or `Attr`.

Methods in org.w3c.dom that return Node
`Node` | `NamedNodeMap.getNamedItem(java.lang.String name)` Retrieves a node specified by name.
`Node` | `NamedNodeMap.setNamedItem(Node arg)` Adds a node using its `nodeName` attribute.
`Node` | `NamedNodeMap.removeNamedItem(java.lang.String name)` Removes a node specified by name.
`Node` | `NamedNodeMap.item(int index)` Returns the `index`th item in the map.
`Node` | `Node.getParentNode()` Returns the value of the `parentNode` property.
`Node` | `Node.getFirstChild()` Returns the value of the `firstChild` property.
`Node` | `Node.getLastChild()` Returns the value of the `lastChild` property.
`Node` | `Node.getPreviousSibling()` Returns the value of the `previousSibling` property.
`Node` | `Node.getNextSibling()` Returns the value of the `nextSibling` property.
`Node` | `Node.insertBefore(Node newChild, Node refChild)` Inserts the node `newChild` before the existing child node `refChild`.
`Node` | `Node.replaceChild(Node newChild, Node oldChild)` Replaces the child node `oldChild` with `newChild` in the list of children, and returns the `oldChild` node.
`Node` | `Node.removeChild(Node oldChild)` Removes the child node indicated by `oldChild` from the list of children, and returns it.
`Node` | `Node.appendChild(Node newChild)` Adds the node `newChild` to the end of the list of children of this node.
`Node` | `Node.cloneNode(boolean deep)` Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
`Node` | `NodeList.item(int index)` Returns the `index`th item in the collection.

Methods in org.w3c.dom with parameters of type Node
`Node` | `NamedNodeMap.setNamedItem(Node arg)` Adds a node using its `nodeName` attribute.
`Node` | `Node.insertBefore(Node newChild, Node refChild)` Inserts the node `newChild` before the existing child node `refChild`.
`Node` | `Node.replaceChild(Node newChild, Node oldChild)` Replaces the child node `oldChild` with `newChild` in the list of children, and returns the `oldChild` node.
`Node` | `Node.removeChild(Node oldChild)` Removes the child node indicated by `oldChild` from the list of children, and returns it.
`Node` | `Node.appendChild(Node newChild)` Adds the node `newChild` to the end of the list of children of this node.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Submit Feedback to xml-feedback@java.sun.com
Copyright © 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
Sun Microsystems, Inc.
901 San Antonio Road
Palo Alto, California, 94303, U.S.A.