Package | com.ericfeminella.ns |
Interface | public interface INamespaceManager |
Implementors | ContextNamespace |
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
Property | Defined 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 |
Method | Defined 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 | 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 | INamespaceManager |
namespacePrefix | property |
namespacePrefix:String
[read-only]Retrieves the qualified namespace prefix from the current namespace
Implementation public function get namespacePrefix():String
namespaceURI | property |
namespaceURI:String
[read-only]Retrieves the qualified namespace URI of the current namespace
Implementation public function get namespaceURI():String
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
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
ns:Namespace — the namespace to determine a contextual match
|
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
uri:String — the namespace URI in which to determine a contextual match
|
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
ns:Namespace — contextual Namespace of the application
|