Uses of Interface org.w3c.dom.Node (Common DOM API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Common DOM API

PREV NEXT | FRAMES NO FRAMES

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

Packages that use Node
org.w3c.dom | Provides the interfaces for the Document Object Model (DOM) which is a component API of the Java API for XML Processing.
org.w3c.dom.events |
org.w3c.dom.html |
org.w3c.dom.stylesheets |

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 interface inherits from `CharacterData` and 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` The `Element` interface represents an element in an HTML or XML document.
`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 inherits from `CharacterData` and represents the textual content (termed character data in XML) of an `Element` or `Attr`.

Methods in org.w3c.dom that return Node
`Node` | `NodeList.item(int index)` Returns the `index`th item in the collection.
`Node` | `Node.getParentNode()` The parent of this node.
`Node` | `Node.getFirstChild()` The first child of this node.
`Node` | `Node.getLastChild()` The last child of this node.
`Node` | `Node.getPreviousSibling()` The node immediately preceding this node.
`Node` | `Node.getNextSibling()` The node immediately following this node.
`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` | `NamedNodeMap.getNamedItem(String name)` Retrieves a node specified by name.
`Node` | `NamedNodeMap.setNamedItem(Node arg)` Adds a node using its `nodeName` attribute.
`Node` | `NamedNodeMap.removeNamedItem(String name)` Removes a node specified by name.
`Node` | `NamedNodeMap.item(int index)` Returns the `index`th item in the map.
`Node` | `NamedNodeMap.getNamedItemNS(String namespaceURI, String localName)` Retrieves a node specified by local name and namespace URI.
`Node` | `NamedNodeMap.setNamedItemNS(Node arg)` Adds a node using its `namespaceURI` and `localName`.
`Node` | `NamedNodeMap.removeNamedItemNS(String namespaceURI, String localName)` Removes a node specified by local name and namespace URI.
`Node` | `Document.importNode(Node importedNode, boolean deep)` Imports a node from another document to this document.

Methods in org.w3c.dom with parameters of type Node
`Node` | `Node.insertBefore(Node newChild, Node refChild)` Inserts the node `newChild` before the existing child node `refChild`.
`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.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` | `NamedNodeMap.setNamedItem(Node arg)` Adds a node using its `nodeName` attribute.
`Node` | `NamedNodeMap.setNamedItemNS(Node arg)` Adds a node using its `namespaceURI` and `localName`.
`Node` | `Document.importNode(Node importedNode, boolean deep)` Imports a node from another document to this document.

Uses of Node in org.w3c.dom.events

Methods in org.w3c.dom.events that return Node
`Node` | `MutationEvent.getRelatedNode()` `relatedNode` is used to identify a secondary node related to a mutation event.

Methods in org.w3c.dom.events with parameters of type Node
`void` | `MutationEvent.initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)` The `initMutationEvent` method is used to initialize the value of a `MutationEvent` created through the `DocumentEvent` interface.

Uses of Node in org.w3c.dom.html

Subinterfaces of Node in org.w3c.dom.html
`interface` | `HTMLAnchorElement` The anchor element.
`interface` | `HTMLAppletElement` An embedded Java applet.
`interface` | `HTMLAreaElement` Client-side image map area definition.
`interface` | `HTMLBaseElement` Document base URI.
`interface` | `HTMLBaseFontElement` Base font.
`interface` | `HTMLBodyElement` The HTML document body.
`interface` | `HTMLBRElement` Force a line break.
`interface` | `HTMLButtonElement` Push button.
`interface` | `HTMLDirectoryElement` Directory list.
`interface` | `HTMLDivElement` Generic block container.
`interface` | `HTMLDListElement` Definition list.
`interface` | `HTMLDocument` An `HTMLDocument` is the root of the HTML hierarchy and holds the entire content.
`interface` | `HTMLElement` All HTML element interfaces derive from this class.
`interface` | `HTMLFieldSetElement` Organizes form controls into logical groups.
`interface` | `HTMLFontElement` Local change to font.
`interface` | `HTMLFormElement` The `FORM` element encompasses behavior similar to a collection and an element.
`interface` | `HTMLFrameElement` Create a frame.
`interface` | `HTMLFrameSetElement` Create a grid of frames.
`interface` | `HTMLHeadElement` Document head information.
`interface` | `HTMLHeadingElement` For the `H1` to `H6` elements.
`interface` | `HTMLHRElement` Create a horizontal rule.
`interface` | `HTMLHtmlElement` Root of an HTML document.
`interface` | `HTMLIFrameElement` Inline subwindows.
`interface` | `HTMLImageElement` Embedded image.
`interface` | `HTMLInputElement` Form control.
`interface` | `HTMLIsIndexElement` This element is used for single-line text input.
`interface` | `HTMLLabelElement` Form field label text.
`interface` | `HTMLLegendElement` Provides a caption for a `FIELDSET` grouping.
`interface` | `HTMLLIElement` List item.
`interface` | `HTMLLinkElement` The `LINK` element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
`interface` | `HTMLMapElement` Client-side image map.
`interface` | `HTMLMenuElement` Menu list.
`interface` | `HTMLMetaElement` This contains generic meta-information about the document.
`interface` | `HTMLModElement` Notice of modification to part of a document.
`interface` | `HTMLObjectElement` Generic embedded object.
`interface` | `HTMLOListElement` Ordered list.
`interface` | `HTMLOptGroupElement` Group options together in logical subdivisions.
`interface` | `HTMLOptionElement` A selectable choice.
`interface` | `HTMLParagraphElement` Paragraphs.
`interface` | `HTMLParamElement` Parameters fed to the `OBJECT` element.
`interface` | `HTMLPreElement` Preformatted text.
`interface` | `HTMLQuoteElement` For the `Q` and `BLOCKQUOTE` elements.
`interface` | `HTMLScriptElement` Script statements.
`interface` | `HTMLSelectElement` The select element allows the selection of an option.
`interface` | `HTMLStyleElement` Style information.
`interface` | `HTMLTableCaptionElement` Table caption See the CAPTION element definition in HTML 4.0.
`interface` | `HTMLTableCellElement` The object used to represent the `TH` and `TD` elements.
`interface` | `HTMLTableColElement` Regroups the `COL` and `COLGROUP` elements.
`interface` | `HTMLTableElement` The create* and delete* methods on the table allow authors to construct and modify tables.
`interface` | `HTMLTableRowElement` A row in a table.
`interface` | `HTMLTableSectionElement` The `THEAD` , `TFOOT` , and `TBODY` elements.
`interface` | `HTMLTextAreaElement` Multi-line text field.
`interface` | `HTMLTitleElement` The document title.
`interface` | `HTMLUListElement` Unordered list.

Methods in org.w3c.dom.html that return Node
`Node` | `HTMLCollection.item(int index)` This method retrieves a node specified by ordinal index.
`Node` | `HTMLCollection.namedItem(String name)` This method retrieves a `Node` using a name.

Uses of Node in org.w3c.dom.stylesheets

Methods in org.w3c.dom.stylesheets that return Node
`Node` | `StyleSheet.getOwnerNode()` The node that associates this style sheet with the document.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Common DOM API

PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.