Sign in Join
FPDoc Onlineexperiment

TDOMCDATASection class

In unit Laz2_DOM

Implements the DOM CDataSection interface from the DOM specification.

Declaration

pascal
TDOMCDATASection = class(TDOMText)

Inheritance

  1. TDOMCDATASection
  2. TDOMText
  3. TDOMCharacterData
  4. TDOMNode

Description

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

TDOMCDATASection is used to escape text that contains characters that would otherwise be regarded as markup in a DOM document. TDOMCDATASection contains the textual content as it appears between the '<![CDATA[' and ']]>' delimiters. Its primary purpose is to include material such as XML fragments, without needing to escape all of the markup.

Please note that Markup (other than the ending delimiter) is ignored in a CDATA section. This means that the ending delimiter cannot be included in a CDATA section. Character numeric entity references cannot be used to escape content in a CDATA section.

See also

Methods

GetNodeTypeprotectedGets the value for the NodeType property.
GetNodeNameprotectedGets the value for the NodeName property.
CloneNodepublicMakes a copy of the DOM CDATA Section.

Inherited

From TDOMText (3)

IsElementContentWhitespace SetNodeValue SplitText

From TDOMCharacterData (9)

AppendData Data DeleteData GetLength GetNodeValue InsertData Length ReplaceData 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 development snapshots. Not the official Free Pascal or Lazarus documentation.