Sign in Join
FPDoc Onlineexperiment

TDOMNode_WithChildren class

In unit Laz2_DOM

Extends TDOMNode to allocate storage for child nodes.

Declaration

pascal
TDOMNode_WithChildren = class(TDOMNode)

Inheritance

  1. TDOMNode_WithChildren
  2. TDOMNode

Descends from it: TDOMDocument TDOMDocumentFragment TDOMEntity TDOMEntityReference TDOMNode_NS

Description

TDOMNode_WithChildren is a TDOMNode descendant which allocates storage for child nodes in the class instance. TDOMNode_WithChildren is an extension to the Node interface in the DOM specification, and is designed to save memory in a large DOM tree.

See also

Methods

GetFirstChildprotectedGets the value for the FirstChild property.
GetLastChildprotectedGets the value for the LastChild property.
CloneChildrenprotectedMakes a copy of child nodes in the specified DOM node.
FreeChildrenprotectedFrees all Child nodes for the DOM node.
GetTextContentprotectedGets the value for the TextContent property.
SetTextContentprotectedSets the value for the TextContent property.
DestroypublicDestructor for the class instance.
InsertBeforepublicInserts a new child node immediately before the reference child node.
ReplaceChildpublicReplaces a child DOM node with another DOM node.
DetachChildpublicDetached the specified DOM node from the sub-tree.
HasChildNodespublicIndicates if the current DOM node has child nodes.
GetChildCountpublicGets the number of child nodes for the DOM node instance.
FindNodepublicFinds a DOM node with the specified value in its NodeName property.
InternalAppendpublicPerforms actions needed to append the specified node to the ChildNodes.

Fields

FFirstChildprotected
FLastChildprotected
FChildNodesprotected

Inherited

From TDOMNode (51)

AppendChild Attributes baseURI Changing ChildNodes CloneNode CompareName Create FirstChild Flags FreeInstance GetAttributes GetBaseURI GetChildNodes GetEnumerator GetEnumeratorAllChildren GetLastLeaf GetLevel GetLocalName GetNamespaceURI GetNextNode GetNextNodeSkipChildren GetNodeName GetNodeType GetNodeValue GetOwnerDocument GetPrefix GetPreviousNode GetRevision HasAttributes IsDefaultNamespace IsSupported LastChild LocalName LookupNamespaceURI LookupPrefix NamespaceURI NextSibling NodeName NodeType NodeValue Normalize OwnerDocument ParentNode Prefix PreviousSibling RemoveChild SetNodeValue SetPrefix SetReadOnly TextContent

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