# class NodeList

###

Module | khtml
Namespace | DOM
Class | NodeList
Inherits |

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.

The items in the NodeList are accessible via an integral index, starting from 0.

### methods

- NodeList ( )

  returns ctor

- NodeList (other)

  returns ctor

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

- NodeList (i)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  i | NodeListImpl |

- handle ( )

  returns NodeListImpl
  Not implemented

  Internal not part of the DOM

- isNull ( )

  returns bool

- item (index)

  returns DOM.Node

  Argument | Type | Default
  --- | --- | ---
  index | unsigned long |

  Returns the index th item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null .

  index - Index into the collection.

  Returns The node at the index th position in the NodeList , or null if that is not a valid index.

- length ( )

  returns unsigned long

  The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.