TDOMComment class
Implements the DOM Comment interface from the DOM specification.
Declaration
TDOMComment = class(TDOMCharacterData)Inheritance
- TDOMComment
- TDOMCharacterData
- 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
GetNodeType | protected | Gets the value for the NodeType property. |
GetNodeName | protected | Gets the value for the NodeName property. |
CloneNode | public | Makes 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.
