[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMEntity

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements the DOM Entity interface from the DOM specification.

Declaration

Source position: laz2_dom.pas line 750

type TDOMEntity = class(TDOMNode_WithChildren)

protected

  FName: DOMString;

  FPublicID: DOMString;

  FSystemID: DOMString;

  FNotationName: DOMString;

  function GetNodeType; override;

  

Gets the value for the NodeType property.

  function GetNodeName; override;

  

Gets the value for the NodeName property.

public

  function CloneNode(); override;

  

Makes a copy of the DOM node with the specified owner document.

  property PublicID: DOMString; [r]

  

Public Identifier for the Entity.

  property SystemID: DOMString; [r]

  

System Identifier for the Entity.

  property NotationName: DOMString; [r]

  

Notation name for the Entity.

end;

Inheritance

TDOMEntity

  

Implements the DOM Entity interface from the DOM specification.

|

TDOMNode_WithChildren

  

Extends TDOMNode to allocate storage for child nodes.

|

TDOMNode

  

Implements the DOM Node interface.

|

TObject

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

TDOMNode_WithChildren

  

Extends TDOMNode to allocate storage for child nodes.


Version 3.2 Generated 2024-02-25 Home