nsgenbind
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Node Interface Reference

import <dom.idl;

Inheritance diagram for Node:
EventTarget EventTarget CharacterData Document Document DocumentFragment DocumentType Element Comment ProcessingInstruction Text XMLDocument XMLDocument HTMLElement HTMLAnchorElement HTMLAppletElement HTMLAreaElement HTMLBRElement HTMLBaseElement HTMLBodyElement HTMLButtonElement HTMLCanvasElement HTMLDListElement HTMLDataElement HTMLDataListElement HTMLDetailsElement HTMLDialogElement HTMLDirectoryElement HTMLDivElement HTMLEmbedElement HTMLFieldSetElement HTMLFontElement HTMLFormElement HTMLFrameElement HTMLFrameSetElement HTMLHRElement HTMLHeadElement HTMLHeadingElement HTMLHtmlElement HTMLIFrameElement HTMLImageElement HTMLInputElement HTMLKeygenElement HTMLLIElement HTMLLabelElement HTMLLegendElement HTMLLinkElement HTMLMapElement HTMLMarqueeElement HTMLMediaElement HTMLMenuElement HTMLMenuItemElement HTMLMetaElement HTMLMeterElement HTMLModElement HTMLOListElement HTMLObjectElement HTMLOptGroupElement HTMLOptionElement HTMLOutputElement HTMLParagraphElement HTMLParamElement HTMLPictureElement HTMLPreElement HTMLProgressElement HTMLQuoteElement HTMLScriptElement HTMLSelectElement HTMLSourceElement HTMLSpanElement HTMLStyleElement HTMLTableCaptionElement HTMLTableCellElement HTMLTableColElement HTMLTableElement HTMLTableRowElement HTMLTableSectionElement HTMLTemplateElement HTMLTextAreaElement HTMLTimeElement HTMLTitleElement HTMLTrackElement HTMLUListElement HTMLUnknownElement

Public Member Functions

boolean hasChildNodes ()
 
void normalize ()
 
Node cloneNode (optional boolean deep=false)
 
boolean isEqualNode (Node? otherNode)
 
unsigned short compareDocumentPosition (Node other)
 
boolean contains (Node? other)
 
DOMString lookupPrefix (DOMString? namespace)
 
DOMString lookupNamespaceURI (DOMString? prefix)
 
boolean isDefaultNamespace (DOMString? namespace)
 
Node insertBefore (Node node, Node? child)
 
Node appendChild (Node node)
 
Node replaceChild (Node node, Node child)
 
Node removeChild (Node child)
 
boolean hasChildNodes ()
 
unsigned short compareDocumentPosition (Node other)
 
boolean contains (Node? other)
 
Node insertBefore (Node node, Node? child)
 
Node appendChild (Node node)
 
Node replaceChild (Node node, Node child)
 
Node removeChild (Node child)
 
void normalize ()
 
Node cloneNode (optional boolean deep=true)
 
boolean isEqualNode (Node? node)
 
DOMString lookupPrefix (DOMString? namespace)
 
DOMString lookupNamespaceURI (DOMString? prefix)
 
boolean isDefaultNamespace (DOMString? namespace)
 
- Public Member Functions inherited from EventTarget
void addEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
void removeEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
boolean dispatchEvent (Event event)
 
void addEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
void removeEventListener (DOMString type, EventListener? callback, optional boolean capture=false)
 
boolean dispatchEvent (Event event)
 

Public Attributes

const unsigned short ELEMENT_NODE = 1
 
const unsigned short ATTRIBUTE_NODE = 2
 
const unsigned short TEXT_NODE = 3
 
const unsigned short CDATA_SECTION_NODE = 4
 
const unsigned short ENTITY_REFERENCE_NODE = 5
 
const unsigned short ENTITY_NODE = 6
 
const unsigned short PROCESSING_INSTRUCTION_NODE = 7
 
const unsigned short COMMENT_NODE = 8
 
const unsigned short DOCUMENT_NODE = 9
 
const unsigned short DOCUMENT_TYPE_NODE = 10
 
const unsigned short DOCUMENT_FRAGMENT_NODE = 11
 
const unsigned short NOTATION_NODE = 12
 
readonly attribute unsigned short nodeType
 
readonly attribute DOMString nodeName
 
readonly attribute DOMString baseURI
 
readonly attribute Document ownerDocument
 
readonly attribute Node parentNode
 
readonly attribute Element parentElement
 
readonly attribute NodeList childNodes
 
readonly attribute Node firstChild
 
readonly attribute Node lastChild
 
readonly attribute Node previousSibling
 
readonly attribute Node nextSibling
 
attribute DOMString nodeValue
 
attribute DOMString textContent
 
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01
 
const unsigned short DOCUMENT_POSITION_PRECEDING = 0x02
 
const unsigned short DOCUMENT_POSITION_FOLLOWING = 0x04
 
const unsigned short DOCUMENT_POSITION_CONTAINS = 0x08
 
const unsigned short DOCUMENT_POSITION_CONTAINED_BY = 0x10
 
const unsigned short DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
 

Detailed Description

Definition at line 162 of file dom.idl.

Member Function Documentation

◆ appendChild() [1/2]

Node Node::appendChild ( Node  node)

◆ appendChild() [2/2]

Node Node::appendChild ( Node  node)

◆ cloneNode() [1/2]

Node Node::cloneNode ( optional boolean  deep = false)

◆ cloneNode() [2/2]

Node Node::cloneNode ( optional boolean  deep = true)

◆ compareDocumentPosition() [1/2]

unsigned short Node::compareDocumentPosition ( Node  other)

◆ compareDocumentPosition() [2/2]

unsigned short Node::compareDocumentPosition ( Node  other)

◆ contains() [1/2]

boolean Node::contains ( Node other)

◆ contains() [2/2]

boolean Node::contains ( Node other)

◆ hasChildNodes() [1/2]

boolean Node::hasChildNodes ( )

◆ hasChildNodes() [2/2]

boolean Node::hasChildNodes ( )

◆ insertBefore() [1/2]

Node Node::insertBefore ( Node  node,
Node child 
)

◆ insertBefore() [2/2]

Node Node::insertBefore ( Node  node,
Node child 
)

◆ isDefaultNamespace() [1/2]

boolean Node::isDefaultNamespace ( DOMString?  namespace)

◆ isDefaultNamespace() [2/2]

boolean Node::isDefaultNamespace ( DOMString?  namespace)

◆ isEqualNode() [1/2]

boolean Node::isEqualNode ( Node node)

◆ isEqualNode() [2/2]

boolean Node::isEqualNode ( Node otherNode)

◆ lookupNamespaceURI() [1/2]

DOMString Node::lookupNamespaceURI ( DOMString?  prefix)

◆ lookupNamespaceURI() [2/2]

DOMString Node::lookupNamespaceURI ( DOMString?  prefix)

◆ lookupPrefix() [1/2]

DOMString Node::lookupPrefix ( DOMString?  namespace)

◆ lookupPrefix() [2/2]

DOMString Node::lookupPrefix ( DOMString?  namespace)

◆ normalize() [1/2]

void Node::normalize ( )

◆ normalize() [2/2]

void Node::normalize ( )

◆ removeChild() [1/2]

Node Node::removeChild ( Node  child)

◆ removeChild() [2/2]

Node Node::removeChild ( Node  child)

◆ replaceChild() [1/2]

Node Node::replaceChild ( Node  node,
Node  child 
)

◆ replaceChild() [2/2]

Node Node::replaceChild ( Node  node,
Node  child 
)

Member Data Documentation

◆ ATTRIBUTE_NODE

const unsigned short Node::ATTRIBUTE_NODE = 2

Definition at line 164 of file dom.idl.

◆ baseURI

readonly attribute DOMString Node::baseURI

Definition at line 178 of file dom.idl.

◆ CDATA_SECTION_NODE

const unsigned short Node::CDATA_SECTION_NODE = 4

Definition at line 166 of file dom.idl.

◆ childNodes

readonly attribute NodeList Node::childNodes

Definition at line 184 of file dom.idl.

◆ COMMENT_NODE

const unsigned short Node::COMMENT_NODE = 8

Definition at line 170 of file dom.idl.

◆ DOCUMENT_FRAGMENT_NODE

const unsigned short Node::DOCUMENT_FRAGMENT_NODE = 11

Definition at line 173 of file dom.idl.

◆ DOCUMENT_NODE

const unsigned short Node::DOCUMENT_NODE = 9

Definition at line 171 of file dom.idl.

◆ DOCUMENT_POSITION_CONTAINED_BY

const unsigned short Node::DOCUMENT_POSITION_CONTAINED_BY = 0x10

Definition at line 201 of file dom.idl.

◆ DOCUMENT_POSITION_CONTAINS

const unsigned short Node::DOCUMENT_POSITION_CONTAINS = 0x08

Definition at line 200 of file dom.idl.

◆ DOCUMENT_POSITION_DISCONNECTED

const unsigned short Node::DOCUMENT_POSITION_DISCONNECTED = 0x01

Definition at line 197 of file dom.idl.

◆ DOCUMENT_POSITION_FOLLOWING

const unsigned short Node::DOCUMENT_POSITION_FOLLOWING = 0x04

Definition at line 199 of file dom.idl.

◆ DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC

const unsigned short Node::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20

Definition at line 202 of file dom.idl.

◆ DOCUMENT_POSITION_PRECEDING

const unsigned short Node::DOCUMENT_POSITION_PRECEDING = 0x02

Definition at line 198 of file dom.idl.

◆ DOCUMENT_TYPE_NODE

const unsigned short Node::DOCUMENT_TYPE_NODE = 10

Definition at line 172 of file dom.idl.

◆ ELEMENT_NODE

const unsigned short Node::ELEMENT_NODE = 1

Definition at line 163 of file dom.idl.

◆ ENTITY_NODE

const unsigned short Node::ENTITY_NODE = 6

Definition at line 168 of file dom.idl.

◆ ENTITY_REFERENCE_NODE

const unsigned short Node::ENTITY_REFERENCE_NODE = 5

Definition at line 167 of file dom.idl.

◆ firstChild

readonly attribute Node Node::firstChild

Definition at line 185 of file dom.idl.

◆ lastChild

readonly attribute Node Node::lastChild

Definition at line 186 of file dom.idl.

◆ nextSibling

readonly attribute Node Node::nextSibling

Definition at line 188 of file dom.idl.

◆ nodeName

readonly attribute DOMString Node::nodeName

Definition at line 176 of file dom.idl.

◆ nodeType

readonly attribute unsigned short Node::nodeType

Definition at line 175 of file dom.idl.

◆ nodeValue

attribute DOMString Node::nodeValue

Definition at line 190 of file dom.idl.

◆ NOTATION_NODE

const unsigned short Node::NOTATION_NODE = 12

Definition at line 174 of file dom.idl.

◆ ownerDocument

readonly attribute Document Node::ownerDocument

Definition at line 180 of file dom.idl.

◆ parentElement

readonly attribute Element Node::parentElement

Definition at line 182 of file dom.idl.

◆ parentNode

readonly attribute Node Node::parentNode

Definition at line 181 of file dom.idl.

◆ previousSibling

readonly attribute Node Node::previousSibling

Definition at line 187 of file dom.idl.

◆ PROCESSING_INSTRUCTION_NODE

const unsigned short Node::PROCESSING_INSTRUCTION_NODE = 7

Definition at line 169 of file dom.idl.

◆ TEXT_NODE

const unsigned short Node::TEXT_NODE = 3

Definition at line 165 of file dom.idl.

◆ textContent

attribute DOMString Node::textContent

Definition at line 191 of file dom.idl.


The documentation for this interface was generated from the following files: