TDOMText class
Implements the DOM Text interface from the DOM specification.
Declaration
TDOMText = class(TDOMCharacterData)Inheritance
- TDOMText
- TDOMCharacterData
- TDOMNode
Descends from it: TDOMCDATASection
Description
TDOMText is a
TDOMCharacterData descendant that
implements the DOM Text interface from the DOM specification. TDOMText
represents the textual content (called character data in XML) for a DOM
Element or Attribute. It provides overridden methods which implement the
NodeName and NodeValue properties as required for the DOM Node specialization.
Adjacent TDOMText nodes may be combined when the Normalize method is called
for the ParentNode, and Text nodes with only whitespace in their content may
be removed. This is the case when the DOM node has the value
nfIgnorableWS in its Flags property.
See also
Methods
GetNodeType | protected | Gets the value for the NodeType property. |
GetNodeName | protected | Gets the value for the NodeName property. |
SetNodeValue | protected | Sets the value for the NodeValue property. |
CloneNode | public | Makes a copy of the DOM Node. |
SplitText | public | Splits the textual content at the specified offset into a new DOM Text node. |
IsElementContentWhitespace | public | Indicates if the textual content for the node is whitespace characters. |
Inherited
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.
