Sign in Join
FPDoc Onlineexperiment

TDOMDocumentType class

In unit Laz2_DOM

Implements the DOM DocumentType interface from the DOM specification.

Declaration

pascal
TDOMDocumentType = class(TDOMNode)

Inheritance

  1. TDOMDocumentType
  2. TDOMNode

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

Properties

NamepublicName for the Document Type declaration (used as the root element).
EntitiespublicEntities declared in the Document Type declaration.
NotationspublicNotations declared in the Document Type declaration.
PublicIDpublicPublic Identifier for the Document Type declaration.
SystemIDpublicSystem Identifier for the Document Type declaration.
InternalSubsetpublicThe internal subset for the Document Type declaration.

Methods

GetEntitiesprotectedGets the value for the Entities property.
GetNotationsprotectedGets the value for the Notations property.
GetNodeTypeprotectedGets the value for the NodeType property.
GetNodeNameprotectedGets the value for the NodeName property.
DestroypublicDestructor for the class instance.

Fields

FNameprotected
FPublicIDprotected
FSystemIDprotected
FInternalSubsetprotected
FEntitiesprotected
FNotationsprotected

Inherited

From TDOMNode (59)

AppendChild Attributes baseURI Changing ChildNodes CloneNode CompareName Create DetachChild FindNode FirstChild Flags FreeInstance GetAttributes GetBaseURI GetChildCount GetChildNodes GetEnumerator GetEnumeratorAllChildren GetFirstChild GetLastChild GetLastLeaf GetLevel GetLocalName GetNamespaceURI GetNextNode GetNextNodeSkipChildren GetNodeValue 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 SetNodeValue SetPrefix SetReadOnly SetTextContent TextContent

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.