TDOMNode_NS class
Implements a DOM Node with Namespace support.
Declaration
TDOMNode_NS = class(TDOMNode_WithChildren)Inheritance
- TDOMNode_NS
- TDOMNode_WithChildren
- 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
NSI | public | Provides access to Namespace information for the DOM node. |
Methods
GetNodeName | protected | Gets the value for the NodeName property. |
GetLocalName | protected | Gets the value for the LocalName property. |
GetNamespaceURI | protected | Gets the value for the NamespaceURI property. |
GetPrefix | protected | Gets the value for the Prefix property. |
SetPrefix | protected | Sets the value for the Prefix property. |
SetNSI | public | Stores the specified Namespace URI and Prefix length in the Namespace Information for the DOM Document. |
CompareName | public | Compares the specified value to the NodeName for the DOM node. |
Fields
FNSI | protected | Provides 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.
