1 | /*
|
---|
2 | * GeoTools - The Open Source Java GIS Toolkit
|
---|
3 | * http://geotools.org
|
---|
4 | *
|
---|
5 | * (C) 2011, Open Source Geospatial Foundation (OSGeo)
|
---|
6 | * (C) 2003-2005, Open Geospatial Consortium Inc.
|
---|
7 | *
|
---|
8 | * All Rights Reserved. http://www.opengis.org/legal/
|
---|
9 | */
|
---|
10 | package org.opengis.util;
|
---|
11 |
|
---|
12 | import static org.opengis.annotation.Obligation.MANDATORY;
|
---|
13 | import static org.opengis.annotation.Specification.ISO_19103;
|
---|
14 |
|
---|
15 | import org.opengis.annotation.UML;
|
---|
16 |
|
---|
17 |
|
---|
18 | /**
|
---|
19 | * A domain in which {@linkplain GenericName names} given by character strings are defined.
|
---|
20 | *
|
---|
21 | * @author Bryce Nordgren (USDA)
|
---|
22 | * @author Martin Desruisseaux (IRD)
|
---|
23 | * @since GeoAPI 2.1
|
---|
24 | *
|
---|
25 | * @source $URL: http://svn.osgeo.org/geotools/branches/2.7.x/modules/library/opengis/src/main/java/org/opengis/util/NameSpace.java $
|
---|
26 | */
|
---|
27 | @UML(identifier="NameSpace", specification=ISO_19103)
|
---|
28 | public interface NameSpace {
|
---|
29 |
|
---|
30 | /**
|
---|
31 | * Represents the identifier of this namespace. If the {@linkplain #isGlobal global} attribute is
|
---|
32 | * {@code true}, indicating that this is a top level {@code NameSpace}, then the name should be a
|
---|
33 | * {@linkplain LocalName local name}. If {@code false}, name should be a fully-qualified name where
|
---|
34 | * <code>name.{@linkplain GenericName#scope() scope()}.{@linkplain #isGlobal} == true</code>.
|
---|
35 | *
|
---|
36 | * @return The identifier of this namespace.
|
---|
37 | */
|
---|
38 | @UML(identifier="name", obligation=MANDATORY, specification=ISO_19103)
|
---|
39 | GenericName name();
|
---|
40 | }
|
---|