Sign in Join
FPDoc Onlineexperiment

TXMLConfig.TNodeCache record

Member of TXMLConfigprotectedIn unit Laz2_XMLCfg

Advanced record type used to implement an array-based TDomNode cache.

Declaration

pascal
TNodeCache = record

Description

Nothing more than the line above yet.

Methods

GrowArraypublicIncreases the capacity for the specified array of DOM nodes.
RefreshChildrenpublicCollects and re-sorts the child nodes for the Node in the cache instance.
RefreshChildrenIfNeededpublicCollects and re-sorts the child nodes for the Node in the cache instance if the child nodes have not already been refreshed.
RefreshNodeListpublicGathers child nodes with the specified node name into the NodeList for the cache instance.
RefreshNodeListIfNeededpublicGathers child nodes with the specified node name into the NodeList if NodeListName does not contain elements with the specified name.
AddNodeToListpublicCreates and returns a new DOM node with the element name in NodeListName in the NodeList.

Fields

NodepublicTop-level node for the cached list of nodes.
NodeSearchNamepublicElement name used to locate a node in the cache.
ChildrenValidpublicIndicates whether cached child nodes are valid after refresh.
ChildrenpublicArray with the named child nodes for the cached DOM node.
NodeListNamepublicElement name for a list of child nodes in the cache.
NodeListpublicArray with the list of child nodes accessed retrieved using an XPath wildcard.

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