# Class TNamespace

Description
Hierarchy
Fields
Methods
Properties

## Unit

xquery.namespaces

## Declaration

`type TNamespace = class(TFastInterfacedObject, INamespace)`

## Description

Class implementing the INamespace interface

## Hierarchy

- TFastInterfacedObject
- TNamespace

## Overview

### Fields

| `url: string;`
| `prefix: string;`

### Methods

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

## Description

### Fields

| `url: string;`

| `prefix: string;`

### Methods

| `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)

| `class function make(const aurl: string; const aprefix: string): TNamespace; static;`

| `class function makeWithRC1(const aurl: string; const aprefix: string): TNamespace; static;`

| `class function uniqueUrl(const aurl: string): string; static;`

| `class procedure freeCache; static;`

| `class procedure assignNonNil(var old: TNamespace; new: TNamespace); static; inline;`

| `class procedure assignRC(var old: TNamespace; new: TNamespace); static; inline;`

| `class procedure releaseIfNonNil(var old: TNamespace); static; inline;`

| `function getPrefix: string;`

| `function getURL: string;`

| `function serialize: string;`

| `function getSelf: TNamespace;`

| `function equal(const ns: string): boolean;`

| `destructor Destroy; override;`

Generated by PasDoc 0.16.0.