Sign in Join
FPDoc Onlineexperiment

TDOMNode_NS class

In unit Laz2_DOM

Implements a DOM Node with Namespace support.

Declaration

pascal
TDOMNode_NS = class(TDOMNode_WithChildren)

Inheritance

  1. TDOMNode_NS
  2. TDOMNode_WithChildren
  3. TDOMNode

Descends from it: TDOMAttr TDOMElement

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

Properties

NSIpublicProvides access to Namespace information for the DOM node.

Methods

GetNodeNameprotectedGets the value for the NodeName property.
GetLocalNameprotectedGets the value for the LocalName property.
GetNamespaceURIprotectedGets the value for the NamespaceURI property.
GetPrefixprotectedGets the value for the Prefix property.
SetPrefixprotectedSets the value for the Prefix property.
SetNSIpublicStores the specified Namespace URI and Prefix length in the Namespace Information for the DOM Document.
CompareNamepublicCompares the specified value to the NodeName for the DOM node.

Fields

FNSIprotectedProvides access to Namespace information for the DOM node.

Inherited

From TDOMNode_WithChildren (14)

CloneChildren Destroy DetachChild FindNode FreeChildren GetChildCount GetFirstChild GetLastChild GetTextContent HasChildNodes InsertBefore InternalAppend ReplaceChild SetTextContent

From TDOMNode (45)

AppendChild Attributes baseURI Changing ChildNodes CloneNode Create FirstChild Flags FreeInstance GetAttributes GetBaseURI GetChildNodes GetEnumerator GetEnumeratorAllChildren GetLastLeaf GetLevel GetNextNode GetNextNodeSkipChildren GetNodeType GetNodeValue GetOwnerDocument GetPreviousNode GetRevision HasAttributes IsDefaultNamespace IsSupported LastChild LocalName LookupNamespaceURI LookupPrefix NamespaceURI NextSibling NodeName NodeType NodeValue Normalize OwnerDocument ParentNode Prefix PreviousSibling RemoveChild SetNodeValue SetReadOnly TextContent

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