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

TDOMDocumentType

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

Implements the DOM DocumentType interface from the DOM specification.

Declaration

Source position: laz2_dom.pas line 706

type TDOMDocumentType = class(TDOMNode)

protected

  FName: DOMString;

  FPublicID: DOMString;

  FSystemID: DOMString;

  FInternalSubset: DOMString;

  FEntities: TDOMNamedNodeMap;

  FNotations: TDOMNamedNodeMap;

  function GetEntities;

  

Gets the value for the Entities property.

  function GetNotations;

  

Gets the value for the Notations property.

  function GetNodeType; override;

  

Gets the value for the NodeType property.

  function GetNodeName; override;

  

Gets the value for the NodeName property.

public

  destructor Destroy; override;

  

Destructor for the class instance.

  property Name: DOMString; [r]

  

Name for the Document Type declaration (used as the root element).

  property Entities: TDOMNamedNodeMap; [r]

  

Entities declared in the Document Type declaration.

  property Notations: TDOMNamedNodeMap; [r]

  

Notations declared in the Document Type declaration.

  property PublicID: DOMString; [r]

  

Public Identifier for the Document Type declaration.

  property SystemID: DOMString; [r]

  

System Identifier for the Document Type declaration.

  property InternalSubset: DOMString; [r]

  

The internal subset for the Document Type declaration.

end;

Inheritance

TDOMDocumentType

  

Implements the DOM DocumentType interface from the DOM specification.

|

TDOMNode

  

Implements the DOM Node interface.

|

TObject

Description

TDOMDocumentType is a TDOMNode descendant that implements the DOM DocumentType Interface from the DOM specification.

Each DOM Document has a DocType property whose value is either Nil or a TDOMDocumentType instance. It provides an interface to the list of entities and notations that are defined for the document, as well as the PublicID and SystemID for the external subset.

It is often referred to as a DTD (Document Type Definition).

See also

TDOMDocumentType.Entities

  

Entities declared in the Document Type declaration.

TDOMDocumentType.Notations

  

Notations declared in the Document Type declaration.

TDOMDocumentType.PublicID

  

Public Identifier for the Document Type declaration.

TDOMDocumentType.SystemID

  

System Identifier for the Document Type declaration.

TDOMDocument.DocType

  

Document Type declaration used in the document.

TDOMNamedNodeMap

  

Implements the NamedNodeMap interface in the DOM specification.

TDOMNode

  

Implements the DOM Node interface.


Version 3.2 Generated 2024-02-25 Home