[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMNodeList.NodeFilter

Determines if the node can be used in the DOM node list.

Declaration

Source position: laz2_dom.pas line 351

protected function TDOMNodeList.NodeFilter(

  aNode: TDOMNode

):TFilterResult; virtual;

Arguments

aNode

  

DOM Node to examine in the method.

Function result

Indicates if the node is included in the node list.

Description

NodeFilter is a TFilterResult function used to determine if the DOM node specified in ANode can be included in the DOM Node list. The return value indicates whether the node is allowed, and also whether its child nodes can be examined as well.

NodeFilter always returns frNoRecurseTrue in TDOMNodeList, and allows the node but does not allow recursion into its child nodes. The method is overridden in descendent classes to perform the actions needed for the DOM node specialization.

See also

TDOMNodeList.BuildList

  

Fills the node list using the node filter.

TDOMElementList.NodeFilter

  

Determines if the node can be used in the DOM element list.

TDOMNode

  

Implements the DOM Node interface.

TFilterResult

  

Determines the Node types included in a DOM node list.


Version 3.2 Generated 2024-02-25 Home