TDOMNamedNodeMap type
Implements the NamedNodeMap interface in the DOM specification.
Declaration
TDOMNamedNodeMap = laz2_DOM.TDOMNamedNodeMapDescription
TDOMNamedNodeMap is a class used to implement the NamedNodeMap
interface in the DOM specification.TDOMNamedNodeMap is used as a collection
of DOM Nodes that are accessed by their name or their ordinal position.
TDOMNamedNodeMap provides support for the Namespace URIs and QualifiedNames
in the collection, as required for DOM Level 2 conformance.
The DOM specification mandates unordered access to nodes in the collection. The sorting options available in TDOMNamedNodeMap are an extension to the DOM specification. To achieve this, the class uses two separate internal lists to represent the nodes in their sorted and unsorted orders. This most certainly requires additional memory and processing, but the overhead is minimal in comparison to the derived benefit.
TDOMNamedNodeMap is the type used to represent Attributes, Entities, and Notations in the DOM API. The TAttributeMap implementation class is used for namespace-enabled node maps.
This description is the one of Laz2_DOM.TDOMNamedNodeMap.
See also
- Attributes
- Entities
- Notations
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
