Package org.apache.sis.internal.simple
Class SimpleExtent
java.lang.Object
org.apache.sis.internal.simple.SimpleExtent
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionSimpleExtent(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. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.util.InternationalStringCollection<org.opengis.metadata.extent.GeographicExtent> Collection<org.opengis.metadata.extent.TemporalExtent> Collection<org.opengis.metadata.extent.VerticalExtent>
-
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, ornull.verticalElements- vertical components of the extent, ornull.temporalElements- temporal components of the extent, ornull.
-
-
Method Details
-
getDescription
public org.opengis.util.InternationalString getDescription()- Specified by:
getDescriptionin interfaceorg.opengis.metadata.extent.Extent
-
getGeographicElements
- Specified by:
getGeographicElementsin interfaceorg.opengis.metadata.extent.Extent
-
getVerticalElements
- Specified by:
getVerticalElementsin interfaceorg.opengis.metadata.extent.Extent
-
getTemporalElements
- Specified by:
getTemporalElementsin interfaceorg.opengis.metadata.extent.Extent
-