Class TNamespace

Unit

Declaration

type TNamespace = class(TFastInterfacedObject, INamespace)

Description

Class implementing the INamespace interface

Hierarchy

Overview

Fields

Public url: string;
Public prefix: string;

Methods

Public constructor create(const aurl: string; aprefix: string);
Public class function make(const aurl: string; const aprefix: string): TNamespace; static;
Public class function makeWithRC1(const aurl: string; const aprefix: string): TNamespace; static;
Public class function uniqueUrl(const aurl: string): string; static;
Public class procedure freeCache; static;
Public class procedure assignNonNil(var old: TNamespace; new: TNamespace); static; inline;
Public class procedure assignRC(var old: TNamespace; new: TNamespace); static; inline;
Public class procedure releaseIfNonNil(var old: TNamespace); static; inline;
Public function getPrefix: string;
Public function getURL: string;
Public function serialize: string;
Public function getSelf: TNamespace;
Public function equal(const ns: string): boolean;
Public destructor Destroy; override;

Description

Fields

Public url: string;
 
Public prefix: string;
 

Methods

Public constructor create(const aurl: string; aprefix: string);

Creates a new namespace with url and prefix. (watch the argument order. It follows the XPath fn:QName function)

Public class function make(const aurl: string; const aprefix: string): TNamespace; static;
 
Public class function makeWithRC1(const aurl: string; const aprefix: string): TNamespace; static;
 
Public class function uniqueUrl(const aurl: string): string; static;
 
Public class procedure freeCache; static;
 
Public class procedure assignNonNil(var old: TNamespace; new: TNamespace); static; inline;
 
Public class procedure assignRC(var old: TNamespace; new: TNamespace); static; inline;
 
Public class procedure releaseIfNonNil(var old: TNamespace); static; inline;
 
Public function getPrefix: string;
 
Public function getURL: string;
 
Public function serialize: string;
 
Public function getSelf: TNamespace;
 
Public function equal(const ns: string): boolean;
 
Public destructor Destroy; override;
 

Generated by PasDoc 0.16.0.