• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

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

#include <dom_node.h>

Public Member Functions

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

Protected Member Functions

 NodeList (const NodeListImpl *i)
 

Protected Attributes

NodeListImpl * impl
 

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 963 of file dom_node.h.

Constructor & Destructor Documentation

NodeList::NodeList ( )

Definition at line 443 of file dom_node.cpp.

NodeList::NodeList ( const NodeList &  other)

Definition at line 448 of file dom_node.cpp.

NodeList::~NodeList ( )

Definition at line 470 of file dom_node.cpp.

NodeList::NodeList ( const NodeListImpl *  i)
protected

Definition at line 454 of file dom_node.cpp.

Member Function Documentation

NodeListImpl* DOM::NodeList::handle ( ) const
inline

not part of the DOM

Definition at line 1006 of file dom_node.h.

bool DOM::NodeList::isNull ( ) const
inline

Definition at line 1007 of file dom_node.h.

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 475 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 481 of file dom_node.cpp.

NodeList & NodeList::operator= ( const NodeList &  other)

Definition at line 460 of file dom_node.cpp.

Member Data Documentation

NodeListImpl* DOM::NodeList::impl
protected

Definition at line 1011 of file dom_node.h.


The documentation for this class was generated from the following files:
  • dom_node.h
  • dom_node.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal