org.nodal.util
Interface Namespace

All Superinterfaces:
java.lang.Comparable

public interface Namespace
extends java.lang.Comparable

A collection of Names, each of which is guaranteed to be unique and selectable from its unqualified name. Created on Jul 24, 2003

Author:
leei

Method Summary
 boolean isGlobal()
          True if this is the global Namespace.
 Name name(java.lang.String str)
          Create or return the unique Name with this unqualified name in this Namespace.
 Path path()
          A Path that identifies this particular Namespace.
 java.lang.String uri()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

name

public Name name(java.lang.String str)
Create or return the unique Name with this unqualified name in this Namespace.

Parameters:
str - the unqualified name a Name
Returns:
the Name with this unqualified name

path

public Path path()
A Path that identifies this particular Namespace.

Returns:
the Path identifying this Namespace

uri

public java.lang.String uri()
Returns:
the URI of the Namespace as a Name

isGlobal

public boolean isGlobal()
True if this is the global Namespace.

Returns:
true if this is the global Namespace