[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements an enumerator that visits all Children in the sub-tree for a DOM node.
Source position: laz2_dom.pas line 212
type TDOMNodeAllChildEnumerator = class |
||
public |
||
constructor Create(); |
|
Constructor for the class instance. |
function MoveNext; |
|
Gets the next DOM node for the enumerator. |
|
Current DOM node selected in the enumerator. |
|
function GetEnumerator; |
|
Gets the enumerator class instance. |
end; |
|
Implements an enumerator that visits all Children in the sub-tree for a DOM node. |
|
| | ||
TObject |
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.
|
Gets the next Child or Sibling node for the DOM node. |
Version 3.2 | Generated 2024-02-25 | Home |