TDOMEntity class
Implements the DOM Entity interface from the DOM specification.
Declaration
TDOMEntity = class(TDOMNode_WithChildren)Inheritance
- TDOMEntity
- TDOMNode_WithChildren
- TDOMNode
Description
TDOMEntity is a TDOMNode_WithChildren descendant which implements the Entity interface from the DOM specifications. An Entity is declared as part of a Document Type Declaration (DTD), and can be either parsed or unparsed in the content model. The following is an example of internal and external Entity declarations:
<!ENTITY copyrightholder "ACME Corporation"> <!ENTITY copyrightholder PUBLIC "https://www.w3c.org/entities.dtd"> <!ENTITY copyrightholder SYSTEM "/path/to/entities.dtd"> <!-- Usage: --> <COPYRIGHT> 1999-2021, ©rightholder;. All rights reserved. </COPYRIGHT>
TDOMEntity provides the Name (NodeName), PublicID or SystemID, and NotationName (when used) properties used to represent the entity declaration.
See also
Properties
PublicID | public | Public Identifier for the Entity. |
SystemID | public | System Identifier for the Entity. |
NotationName | public | Notation name for the Entity. |
Methods
GetNodeType | protected | Gets the value for the NodeType property. |
GetNodeName | protected | Gets the value for the NodeName property. |
CloneNode | public | Makes a copy of the DOM node with the specified owner document. |
Fields
FName | protected | |
FPublicID | protected | |
FSystemID | protected | |
FNotationName | protected |
Inherited
From TDOMNode_WithChildren (14)
CloneChildren Destroy DetachChild FindNode FreeChildren GetChildCount GetFirstChild GetLastChild GetTextContent HasChildNodes InsertBefore InternalAppend ReplaceChild SetTextContent
From TDOMNode (48)
AppendChild Attributes baseURI Changing ChildNodes CompareName Create FirstChild Flags FreeInstance GetAttributes GetBaseURI GetChildNodes GetEnumerator GetEnumeratorAllChildren GetLastLeaf GetLevel GetLocalName GetNamespaceURI GetNextNode GetNextNodeSkipChildren 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.
