Sign in Join
FPDoc Onlineexperiment

TDOMNodeEnumerator class

In unit Laz2_DOM

Implements an enumerator for DOM Nodes.

Declaration

pascal
TDOMNodeEnumerator = class

Description

TDOMNodeEnumerator is a class used to implement an enumerator for DOM Nodes. The enumerator is created for a specified DOM node, and provides access to the top-level children for the DOM node. It does not descend any lower than the first child node and its sibling nodes in the DOM sub-tree.

Use the MoveNext method to select the next child node in the enumerator. Use the Current property to access the current DOM node for the enumerator.

See also

Properties

CurrentpublicCurrent DOM node for the enumerator.

Methods

CreatepublicConstructor for the class instance.
MoveNextpublicGets the First child or the next Sibling as the Current value for the enumerator.

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