[]
        
(Showing Draft Content)

Namespace

Class: Namespace

Represents a namespace within a structure tree.

Extends

Constructors

Constructor

new Namespace(ns?): Namespace;

Creates a new Namespace object.

Parameters

ns?

string

The value of the Namespace#ns property.

Returns

Namespace

Overrides

ObjectBase.constructor

Constructor

new Namespace(om, ns?): Namespace;

Creates a new Namespace object.

Parameters

om

ObjectManager

An object manager that controls the lifetime of the Namespace object.

ns?

string

The value of the Namespace#ns property.

Returns

Namespace

Overrides

ObjectBase.constructor

Accessors

id

Get Signature

get id(): number;

Gets the reference to the object.

Returns

number

Inherited from

ObjectBase.id


ns

Get Signature

get ns(): string;

Gets the string defining the namespace name which this entry identifies (conventionally a uniform resource identifier, or URI).

Returns

string

Set Signature

set ns(value): void;

Sets the string defining the namespace name which this entry identifies (conventionally a uniform resource identifier, or URI).

Parameters
value

string

Returns

void


om

Get Signature

get om(): ObjectManager;

Gets the owner ObjectManager instance.

Returns

ObjectManager

Inherited from

ObjectBase.om

Methods

free()

free(): void;

Detaches the object from the ObjectManager and deallocates its memory, if possible.

Returns

void

Inherited from

ObjectBase.free


rebind()

rebind(omTo): void;

Rebinds the object from the current ObjectManager to the specified one.

Parameters

omTo

ObjectManager

The new ObjectManager for the object.

Returns

void

Inherited from

ObjectBase.rebind