[Overview][Classes][Procedures and functions][Index] |
Ensures a DOM node is present in the internal cache for the class instance.
Source position: laz2_xmlcfg.pas line 89
protected procedure TXMLConfig.SetPathNodeCache( |
Index: Integer; |
aNode: TDOMNode; |
aNodeSearchName: string = '' |
); |
Index |
|
Position in the cache to start looking for the specified DOM node. |
aNodeSearchName |
|
DOM node name to locate in the cache. |
SetPathNodeCache is a procedure used to ensure that the DOM node with the specified position and name is present in the node cache for the class instance. SetPathNodeCache adjusts the length of the internal node cache when needed to accommodate a new DOM node. InvalidateCacheTilEnd is called to refresh the cache when the Node is not found starting at the specified position.
SetPathNodeCache is used in the implementation of the InternalFindNode method.
|
Searches for the DOM node with the specified path, and updates the node cache. |
|
|
Advanced record type used to implement an array-based TDomNode cache. |
Version 4.0 | Generated 2025-05-03 | Home |