Package org.opengis.util
Interface NameSpace
-
@UML(identifier="NameSpace", specification=ISO_19103) public interface NameSpace
A domain in which names given by character strings are defined. EveryGenericName
must be valid in a namespace. For aLocalName
, this means that the name must exist in the current namespace. For aScopedName
, this means:- Since:
- 2.1
- See Also:
NameFactory.createNameSpace(GenericName, Map)
-
-
Method Summary
Modifier and Type Method Description boolean
isGlobal()
Indicates whether this namespace is a "top level" namespace.GenericName
name()
Represents the identifier of this namespace.
-
-
-
Method Detail
-
isGlobal
@UML(identifier="isGlobal", obligation=MANDATORY, specification=ISO_19103) boolean isGlobal()
Indicates whether this namespace is a "top level" namespace. Global, or top-level namespaces are not contained within another namespace. The global namespace has no parent.- Returns:
true
if this namespace is the global namespace.
-
name
@UML(identifier="name", obligation=MANDATORY, specification=ISO_19103) GenericName name()
Represents the identifier of this namespace. Namespace identifiers shall be fully-qualified names where:name.scope().isGlobal() == true
- Returns:
- the identifier of this namespace.
-
-