org.opengis.layer.source
Interface LayerSource
-
public interface LayerSourceProvidesLayers to a manager.Layers are the base unit in a Table of Contents, which could be used to provide a human-readable visualization of the data available to add to a rendered visualization. ALayerSourcecould be capable of retrieving features from given feature stores using a given filter and creating the necessary feature layer. OtherLayerSourceimplementations may connect to some other data source and produce graphics to be owned by the produced layers.- Since:
- GeoAPI 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description InternationalStringgetDescription()Description of this type ofLayerSource.InternationalStringgetDisplayName()Display name used to communicate thisLayerSourceto end users.java.net.URIgetIcon()Icon representing this type of LayerSource.LayergetLayer(java.lang.String name)Gets the namedLayer.java.util.List<Layer>getLayers()Returns a List ofLayers provided by thisLayerSource.
-
-
-
Method Detail
-
getIcon
java.net.URI getIcon()
Icon representing this type of LayerSource.- Returns:
- URI to a icon (GIF or PNG) representing this layer source.
-
getDisplayName
InternationalString getDisplayName()
Display name used to communicate thisLayerSourceto end users.
-
getDescription
InternationalString getDescription()
Description of this type ofLayerSource.
-
getLayer
Layer getLayer(java.lang.String name) throws java.io.IOException, LayerException
Gets the namedLayer.- Parameters:
name- the id of theLayer.- Throws:
java.io.IOException- if there is an IO problem getting the namedLayerLayerException- if there is any other problem getting the namedLayer
-
getLayers
java.util.List<Layer> getLayers() throws java.io.IOException, LayerException
Returns a List ofLayers provided by thisLayerSource. This List should not be a live List: modifying the returned List (if modifiable) should not modify thisLayerSource'sLayers.- Returns:
- a List of
Layers - Throws:
java.io.IOException- if there is an IO problem getting theLayersLayerException- if there is any other problem getting the namedLayer
-
-
DataMelt 3.0 © DataMelt by jWork.ORG