Package org.geotoolkit.metadata

Root package for various metadata implementations.

See:
          Description

Class Summary
AbstractMetadata Base class for metadata implementations.
MetadataFactory Create metadata objects of the given Class using the properties given in a Map.
MetadataStandard Enumeration of some metadata standards.
MetadataTreeFormat Builds tree or tree-table representations of metadata.
ModifiableMetadata Base class for metadata that may (or may not) be modifiable.
ValueRestriction Restrictions that apply on a metadata property.
 

Enum Summary
KeyNamePolicy The name of the keys included in a Map of metadata.
NullValuePolicy Whatever MetadataStandard.asMap(...)
TypeValuePolicy Whatever MetadataStandard.asTypeMap(...) should return values for the property types, the element types (same as property types except for collections) or the declaring classes.
 

Exception Summary
InvalidMetadataException Thrown when a metadata entity is in a invalid state, usually because a mandatory property is missing.
UnmodifiableMetadataException Thrown when a setter method is invoked on a metadata entity, but this entity was declared unmodifiable.
 

Package org.geotoolkit.metadata Description

Root package for various metadata implementations. For a global overview of metadata in Geotk, see the Metadata page on the project web site.

This root package can work with different metadata standards, not just ISO 19115. In this package, a metadata standard is defined by a collection of Java interfaces defined in a specific package and its sub-packages. For example the ISO 19115 standard is defined by the interfaces in the org.opengis.metadata package and sub-packages. This org.geotoolkit.metadata package uses Java reflection for performing basic operations like comparisons and copies.

The available metadata implementations are:

org.geotoolkit.metadata.iso concrete implementation of ISO interfaces, including ISO 19115 and ISO 19115-2.
org.geotoolkit.metadata.sql implementation of metadata interfaces backed by a SQL database. The metadata interfaces doesn't need to be ISO ones, which is why this package is not a sub-package of the ISO's one.
org.geotoolkit.image.io.metadata Metadata managed by this package (it doesn't need to be a Geotk implementation) viewed as a XML tree of IIOMetadataNodes. This is used for Image I/O operations.

All metadata can be view as a map for use with Java collections, or as a tree for use in Swing or other GUI applications.

ISO 19115 metadata can be marshalled and unmarshalled in XML using the XML convenience methods.

Since:
2.0
Version:
3.19
Author:
Martin Desruisseaux (IRD, Geomatys)
Module:
metadata/geotk-metadata (download)


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.