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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.metadata.extent.GeographicExtent
Provides geographic component of the extent of the referring object.private final org.opengis.metadata.extent.TemporalExtent
Provides temporal component of the extent of the referring object.private final org.opengis.metadata.extent.VerticalExtent
Provides vertical component of the extent of the referring object. -
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.InternationalString
Collection<org.opengis.metadata.extent.GeographicExtent>
Collection<org.opengis.metadata.extent.TemporalExtent>
Collection<org.opengis.metadata.extent.VerticalExtent>
-
Field Details
-
geographicElements
private final org.opengis.metadata.extent.GeographicExtent geographicElementsProvides geographic component of the extent of the referring object. -
verticalElements
private final org.opengis.metadata.extent.VerticalExtent verticalElementsProvides vertical component of the extent of the referring object. -
temporalElements
private final org.opengis.metadata.extent.TemporalExtent temporalElementsProvides temporal component of the extent of the referring object.
-
-
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:
getDescription
in interfaceorg.opengis.metadata.extent.Extent
-
getGeographicElements
- Specified by:
getGeographicElements
in interfaceorg.opengis.metadata.extent.Extent
-
getVerticalElements
- Specified by:
getVerticalElements
in interfaceorg.opengis.metadata.extent.Extent
-
getTemporalElements
- Specified by:
getTemporalElements
in interfaceorg.opengis.metadata.extent.Extent
-