Class SimpleExtent

java.lang.Object
org.apache.sis.internal.simple.SimpleExtent
All Implemented Interfaces:
org.opengis.metadata.extent.Extent

public final class SimpleExtent extends Object implements org.opengis.metadata.extent.Extent
A trivial implementation of Extent containing only geographic, vertical and temporal extent. This class may be used only as adapter for API expecting the full Extent object when only a component is available.
Since:
0.5
Version:
0.5
Author:
Martin Desruisseaux (Geomatys)
  • Constructor Details

    • SimpleExtent

      public SimpleExtent(org.opengis.metadata.extent.GeographicExtent geographicElements, org.opengis.metadata.extent.VerticalExtent verticalElements, org.opengis.metadata.extent.TemporalExtent temporalElements)
      Creates a new extent with the given elements.
      Parameters:
      geographicElements - geographic components of the extent, or null.
      verticalElements - vertical components of the extent, or null.
      temporalElements - temporal components of the extent, or null.
  • Method Details

    • getDescription

      public org.opengis.util.InternationalString getDescription()
      Specified by:
      getDescription in interface org.opengis.metadata.extent.Extent
    • getGeographicElements

      public Collection<org.opengis.metadata.extent.GeographicExtent> getGeographicElements()
      Specified by:
      getGeographicElements in interface org.opengis.metadata.extent.Extent
    • getVerticalElements

      public Collection<org.opengis.metadata.extent.VerticalExtent> getVerticalElements()
      Specified by:
      getVerticalElements in interface org.opengis.metadata.extent.Extent
    • getTemporalElements

      public Collection<org.opengis.metadata.extent.TemporalExtent> getTemporalElements()
      Specified by:
      getTemporalElements in interface org.opengis.metadata.extent.Extent