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

TDOMNode_NS

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

Implements a DOM Node with Namespace support.

Declaration

Source position: laz2_dom.pas line 580

type TDOMNode_NS = class(TDOMNode_WithChildren)

protected

  FNSI: TNamespaceInfo;

  

Provides access to Namespace information for the DOM node.

  function GetNodeName; override;

  

Gets the value for the NodeName property.

  function GetLocalName; override;

  

Gets the value for the LocalName property.

  function GetNamespaceURI; override;

  

Gets the value for the NamespaceURI property.

  function GetPrefix; override;

  

Gets the value for the Prefix property.

  procedure SetPrefix(); override;

  

Sets the value for the Prefix property.

public

  procedure SetNSI();

  

Stores the specified Namespace URI and Prefix length in the Namespace Information for the DOM Document.

  function CompareName(); override;

  

Compares the specified value to the NodeName for the DOM node.

  property NSI: TNamespaceInfo; [r]

  

Provides access to Namespace information for the DOM node.

end;

Inheritance

TDOMNode_NS

  

Implements a DOM Node with Namespace support.

|

TDOMNode_WithChildren

  

Extends TDOMNode to allocate storage for child nodes.

|

TDOMNode

  

Implements the DOM Node interface.

|

TObject

Description

TDOMNode_NS is a TDOMNode_WithChildren descendant which provides support for Namespaces in DOM Nodes.

TDOMNode_NS extends the ancestor class to implement the use of XML Namespace as required in DOM Level 2. Overridden methods are provided for read and write accessors in the class which access the NodeName, LocalName, NamespaceURI and Prefix properties. It also implements the NSI property which is used to provide information about the Namespaces used in DOM Node specializations.

TDOMNode_NS is the ancestor class for the TDOMAttr and TDOMElement node types.

See also

TDOMNode_WithChildren

  

Extends TDOMNode to allocate storage for child nodes.

TDOMElement

  

Implements the DOM Element interface from the DOM specification.

TDOMAttr

  

Implements a DOM Node for attributes with Namespace support.


Version 3.2 Generated 2024-02-25 Home