Sign in Join
FPDoc Onlineexperiment

TDOMEntity class

In unit Laz2_DOM

Implements the DOM Entity interface from the DOM specification.

Declaration

pascal
TDOMEntity = class(TDOMNode_WithChildren)

Inheritance

  1. TDOMEntity
  2. TDOMNode_WithChildren
  3. 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, &copyrightholder;. 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

PublicIDpublicPublic Identifier for the Entity.
SystemIDpublicSystem Identifier for the Entity.
NotationNamepublicNotation name for the Entity.

Methods

GetNodeTypeprotectedGets the value for the NodeType property.
GetNodeNameprotectedGets the value for the NodeName property.
CloneNodepublicMakes a copy of the DOM node with the specified owner document.

Fields

FNameprotected
FPublicIDprotected
FSystemIDprotected
FNotationNameprotected

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.