#### PyKDE - Python Bindings for KDE

# class DOM.Node

Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.Node
Inherits |

### enums

- NodeType = {ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4, ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11, NOTATION_NODE = 12 }

### methods

- Node ()

  returns a Node instance

- Node (other)

  returns a Node instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- Node (_impl)

  Not Implemented

- addEventListener (type, listener, useCapture)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  type | DOM.DOMString |
  listener | DOM.EventListener |
  useCapture | bool |

- appendChild (newChild)

  returns (DOM.Node)

  Argument | Type | Default
  --- | --- | ---
  newChild | DOM.Node |

- applyChanges ()

  returns nothing

- attributes ()

  returns (DOM.NamedNodeMap)

- childNodes ()

  returns (DOM.NodeList)

- cloneNode (deep)

  returns (DOM.Node)

  Argument | Type | Default
  --- | --- | ---
  deep | bool |

- dispatchEvent (evt)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  evt | DOM.Event |

- elementId ()

  returns (Q_UINT32)

- firstChild ()

  returns (DOM.Node)

- getCursor (offset)

  returns _x (int) _y (int) height (int)

  Argument | Type | Default
  --- | --- | ---
  offset | int |

- getRect ()

  returns (QRect)

- handle ()

  Not Implemented

- hasAttributes ()

  returns (bool)

- hasChildNodes ()

  returns (bool)

- index ()

  returns (ulong)

- insertBefore (newChild, refChild)

  returns (DOM.Node)

  Argument | Type | Default
  --- | --- | ---
  newChild | DOM.Node |
  refChild | DOM.Node |

- isNull ()

  returns (bool)

- isSupported (feature, version)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  feature | DOM.DOMString |
  version | DOM.DOMString |

- lastChild ()

  returns (DOM.Node)

- localName ()

  returns (DOM.DOMString)

- namespaceURI ()

  returns (DOM.DOMString)

- nextSibling ()

  returns (DOM.Node)

- nodeName ()

  returns (DOM.DOMString)

- nodeType ()

  returns (ushort)

- nodeValue ()

  returns (DOM.DOMString)

- normalize ()

  returns nothing

- ownerDocument ()

  returns (DOM.Document)

- parentNode ()

  returns (DOM.Node)

- prefix ()

  returns (DOM.DOMString)

- previousSibling ()

  returns (DOM.Node)

- removeChild (oldChild)

  returns (DOM.Node)

  Argument | Type | Default
  --- | --- | ---
  oldChild | DOM.Node |

- removeEventListener (type, listener, useCapture)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  type | DOM.DOMString |
  listener | DOM.EventListener |
  useCapture | bool |

- replaceChild (newChild, oldChild)

  returns (DOM.Node)

  Argument | Type | Default
  --- | --- | ---
  newChild | DOM.Node |
  oldChild | DOM.Node |

- setNodeValue (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

- setPrefix (prefix)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  prefix | DOM.DOMString |

- toHTML ()

  returns (QString)

## operators

- operator != (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.Node |

- operator == (a0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.Node |