org.geotoolkit.naming.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotk-metadata Show documentation
Show all versions of geotk-metadata Show documentation
Implementations of metadata derived from ISO 19115. This module provides both an implementation
of the metadata interfaces defined in GeoAPI, and a framework for handling those metadata through
Java reflection.
/*
* Geotoolkit.org - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008-2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2009-2011, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
/**
* Implemention of naming interfaces from {@link org.opengis.util}. Names are immutables.
* They may be {@linkplain org.geotoolkit.naming.AbstractName#toFullyQualifiedName fully qualified}
* like {@code "org.opengis.util.Record"}, or they may be relative to a
* {@linkplain org.geotoolkit.naming.AbstractName#scope scope} like {@code "util.Record"} in the
* {@code "org.opengis"} scope. The illustration below shows all possible constructions for
* {@code "org.opengis.util.Record"}.
*
*
*
* org
* . opengis
* . util
* . Record
*
* {@link org.geotoolkit.naming.AbstractName#scope() scope()}
* {@link org.geotoolkit.naming.AbstractName#getParsedNames() getParsedNames()}
*
* Type
*
*
*
* {@linkplain org.geotoolkit.naming.AbstractName#head() head}
* {@linkplain org.geotoolkit.naming.DefaultScopedName#tail() tail}
*
* {@linkplain org.geotoolkit.naming.DefaultNameSpace#isGlobal() global}
* {@literal {"org", "opengis", "util", "Record"}}
*
* {@link org.geotoolkit.naming.DefaultScopedName ScopedName}
*
*
* {@linkplain org.geotoolkit.naming.DefaultScopedName#path() path}
* {@linkplain org.geotoolkit.naming.AbstractName#tip() tip}
*
*
*
*
* {@linkplain org.geotoolkit.naming.AbstractName#scope scope}
* head
* tail
*
* {@literal "org"}
* {@literal {"opengis", "util", "Record"}}
*
* {@code ScopedName}
*
*
* path
* tip
*
*
*
*
* scope
* head
* tail
*
* {@literal "org.opengis"}
* {@literal {"util", "Record"}}
*
* {@code ScopedName}
*
*
* path
* tip
*
*
*
*
* scope
* head
*
* {@literal "org.opengis.util"}
* {@literal {"Record"}}
*
* {@link org.geotoolkit.naming.DefaultLocalName LocalName}
*
*
* tip
*
*
*
* @author Martin Desruisseaux (Geomatys)
* @version 3.01
*
* @since 3.00
* @module
*/
@XmlSchema(elementFormDefault = XmlNsForm.QUALIFIED, namespace = Namespaces.GCO, xmlns = {
@XmlNs(prefix = "gco", namespaceURI = Namespaces.GCO)
})
@XmlAccessorType(XmlAccessType.NONE)
@XmlJavaTypeAdapters({
@XmlJavaTypeAdapter(GO_GenericName.class),
@XmlJavaTypeAdapter(LocalNameAdapter.class),
@XmlJavaTypeAdapter(ScopedNameAdapter.class)
})
package org.geotoolkit.naming;
import javax.xml.bind.annotation.XmlNs;
import javax.xml.bind.annotation.XmlNsForm;
import javax.xml.bind.annotation.XmlSchema;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
import org.geotoolkit.xml.Namespaces;
import org.geotoolkit.internal.jaxb.gco.*;