Package org.apache.sis.internal.jaxb.gmi


package org.apache.sis.internal.jaxb.gmi
Extends some classes from org.apache.sis.metadata.iso packages in order to give them the name used by imagery extensions (ISO 19115-2). This is required for XML (un)marshalling because GeoAPI merged some classes which were dissociated in the ISO specifications. The GeoAPI merge were done in order to simplify the conceptual model for developers, since the classes were different in ISO specifications for historical reasons - not conceptual reasons.

In SIS implementation, users need to care only about the public classes defined in the org.apache.sis.metadata.iso package. When marshalling, the adapters will inspect the properties that are ISO 19115-2 extensions and copy automatically the "MD_" metadata into a "MI_" metadata if any ISO 19115-2 property is non-null or non-empty. This work is performed by a castOrCopy static method defined in each class of this package.

Since:
0.3
Version:
1.0