Sign in Join
FPDoc Onlineexperiment

TDOMComment class

In unit Laz2_DOM

Implements the DOM Comment interface from the DOM specification.

Declaration

pascal
TDOMComment = class(TDOMCharacterData)

Inheritance

  1. TDOMComment
  2. TDOMCharacterData
  3. TDOMNode

Description

TDOMComment is a TDOMCharacterData descendant that implements the DOM Comment interface from the DOM specification. TDOMComment provides overridden methods needed to implement the NodeType and NodeName properties as required for the DOM Node specialization.

TDOMComment represents the textual content for a comment that appears between the '<!--' and '-->' delimiters. This is the definition for a comment as defined in the XML 1.0 specification and in HTML. The NodeValue can contain any values except the start and end delimiters for a comment.

See also

Methods

GetNodeTypeprotectedGets the value for the NodeType property.
GetNodeNameprotectedGets the value for the NodeName property.
CloneNodepublicMakes copy of the DOM Comment node.

Inherited

From TDOMCharacterData (10)

AppendData Data DeleteData GetLength GetNodeValue InsertData Length ReplaceData SetNodeValue SubstringData

From TDOMNode (57)

AppendChild Attributes baseURI Changing ChildNodes CompareName Create Destroy DetachChild FindNode FirstChild Flags FreeInstance GetAttributes GetBaseURI GetChildCount GetChildNodes GetEnumerator GetEnumeratorAllChildren GetFirstChild GetLastChild GetLastLeaf GetLevel GetLocalName GetNamespaceURI GetNextNode GetNextNodeSkipChildren GetOwnerDocument GetPrefix GetPreviousNode GetRevision GetTextContent HasAttributes HasChildNodes InsertBefore IsDefaultNamespace IsSupported LastChild LocalName LookupNamespaceURI LookupPrefix NamespaceURI NextSibling NodeName NodeType NodeValue Normalize OwnerDocument ParentNode Prefix PreviousSibling RemoveChild ReplaceChild SetPrefix SetReadOnly SetTextContent TextContent

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.