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.GeographicExtentProvides geographic component of the extent of the referring object.private final org.opengis.metadata.extent.TemporalExtentProvides temporal component of the extent of the referring object.private final org.opengis.metadata.extent.VerticalExtentProvides 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.InternationalStringCollection<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:
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
-