Sign in Join
FPDoc Onlineexperiment

TDOMNodeAllChildEnumerator class

In unit Laz2_DOM

Implements an enumerator that visits all Children in the sub-tree for a DOM node.

Declaration

pascal
TDOMNodeAllChildEnumerator = class

Description

TDOMNodeAllChildEnumerator is a class used to implement an enumerator for a specified DOM node that visits all child nodes in its sub-tree. The enumerator uses the GetNextNode method in TDOMNode to get the value in the Current property. This means it will recursively descend into ChildNodes, and is halted when the next sibling for the specified DOM node is reached.

Use the MoveNext method to get the next DOM node for the enumerator. Use the Current property to access the currently selected DOM node.

See also

Properties

CurrentpublicCurrent DOM node selected in the enumerator.

Methods

CreatepublicConstructor for the class instance.
MoveNextpublicGets the next DOM node for the enumerator.
GetEnumeratorpublicGets the enumerator class instance.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.