Packagecom.ericfeminella.ns
Interfacepublic interface INamespaceManager
ImplementorsContextNamespace

INamespaceManager defines the contract for Namespace management APIs which are utilized by classes and components within an application to retrieve the unique Namespace under which the current context of an application is executing

See also

Namespace


Public Properties
 PropertyDefined by
  namespacePrefix : String
[read-only] Retrieves the qualified namespace prefix from the current namespace
INamespaceManager
  namespaceURI : String
[read-only] Retrieves the qualified namespace URI of the current namespace
INamespaceManager
Public Methods
 MethodDefined by
  
getNamespace():Namespace
Retrieves the qualified namespace object which is based on the current context in which the application is executing

The namespace referenced by getNamespace is to be utilized to determine the context from which methods are to be invoked on an object or Class

INamespaceManager
  
isCurrentContext(ns:Namespace):Boolean
Determines if the current contextual Namespace is that of the specified Namespace
INamespaceManager
  
isCurrentURI(uri:String):Boolean
Determines if the current contextual Namespace URI is equal to that of the specified Namespace
INamespaceManager
  
setNamespace(ns:Namespace):void
Sets the qualified namespace object based on the current context of the application

The namespace referenced by getNamespace is to be utilized to determine the context from which methods are called.

INamespaceManager
Property detail
namespacePrefixproperty
namespacePrefix:String  [read-only]

Retrieves the qualified namespace prefix from the current namespace

Implementation
    public function get namespacePrefix():String
namespaceURIproperty 
namespaceURI:String  [read-only]

Retrieves the qualified namespace URI of the current namespace

Implementation
    public function get namespaceURI():String
Method detail
getNamespace()method
public function getNamespace():Namespace

Retrieves the qualified namespace object which is based on the current context in which the application is executing

The namespace referenced by getNamespace is to be utilized to determine the context from which methods are to be invoked on an object or Class

Returns
Namespace — the current contextual Namespace
isCurrentContext()method 
public function isCurrentContext(ns:Namespace):Boolean

Determines if the current contextual Namespace is that of the specified Namespace

Parameters
ns:Namespace — the namespace to determine a contextual match

Returns
Boolean — true of the current namespaces are equal, otherwise false
isCurrentURI()method 
public function isCurrentURI(uri:String):Boolean

Determines if the current contextual Namespace URI is equal to that of the specified Namespace

Parameters
uri:String — the namespace URI in which to determine a contextual match

Returns
Boolean — true of the current namespaces are equal, otherwise false
setNamespace()method 
public function setNamespace(ns:Namespace):void

Sets the qualified namespace object based on the current context of the application

The namespace referenced by getNamespace is to be utilized to determine the context from which methods are called. This namespace is set by setNamespace

Parameters
ns:Namespace — contextual Namespace of the application