• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • DOM
  • NodeList
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
DOM::NodeList Class Reference

#include <dom_node.h>

Public Member Functions

 NodeList (const NodeList &other)
 
NodeList & operator= (const NodeList &other)
 
unsigned long length () const
 
Node item (unsigned long index) const
 
NodeListImpl * handle () const
 
bool isNull () const
 

Protected Member Functions

 NodeList (const NodeListImpl *i)
 

Protected Attributes

NodeListImpl * impl
 

Friends

class Element
 
class Node
 
class Document
 
class HTMLDocument
 
class KJS::HTMLDocument
 
class KJS::Window
 

Detailed Description

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.

Definition at line 931 of file dom_node.h.

Member Function Documentation

Node NodeList::item ( unsigned long  index) const

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 .

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

Definition at line 485 of file dom_node.cpp.

unsigned long NodeList::length ( ) const

The number of nodes in the list.

The range of valid child node indices is 0 to length-1 inclusive.

Definition at line 491 of file dom_node.cpp.


The documentation for this class was generated from the following files:
  • dom_node.h
  • dom_node.cpp

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.8.8
This website is maintained by Timothy Pearson.