Class MI_Metadata

All Implemented Interfaces:
Serializable, Emptiable, LenientComparable, IdentifiedObject, org.opengis.metadata.Metadata

public class MI_Metadata extends DefaultMetadata
A wrapper for a metadata using the "gmi" namespace.
Since:
0.3
Version:
0.3
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
  • Constructor Details

    • MI_Metadata

      public MI_Metadata()
      Creates an initially empty metadata. This is also the default constructor used by JAXB.
    • MI_Metadata

      public MI_Metadata(org.opengis.metadata.Metadata original)
      Creates a new metadata as a copy of the given one. This is a shallow copy constructor.
      Parameters:
      original - the original metadata to copy.
  • Method Details

    • castOrCopy

      public static DefaultMetadata castOrCopy(org.opengis.metadata.Metadata original)
      Wraps the given metadata into a SIS implementation that can be marshalled, using the "gmi" namespace if necessary.
      Parameters:
      original - the original metadata provided by the user.
      Returns:
      the metadata to marshal.