org.deegree.layer
Class AbstractLayer
java.lang.Object
org.deegree.layer.AbstractLayer
- All Implemented Interfaces:
- Layer
- Direct Known Subclasses:
- FeatureLayer, RemoteWMSLayer
public abstract class AbstractLayer
- extends Object
- implements Layer
Layer
- Version:
- $Revision: 31627 $, $Date: 2011-08-24 12:54:36 +0200 (Wed, 24 Aug 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.layer.Layer |
paintMap |
LAYER_NAME
public static final CollectionUtils.Mapper<String,Layer> LAYER_NAME
LAYER_METADATA
public static final CollectionUtils.Mapper<LayerMetadata,Layer> LAYER_METADATA
AbstractLayer
protected AbstractLayer(LayerMetadata md)
getMetadata
public LayerMetadata getMetadata()
- Specified by:
getMetadata
in interface Layer
- Returns:
- the layer metadata
getFeatures
public Pair<FeatureCollection,LinkedList<String>> getFeatures(RenderingInfo info,
Style style)
throws WMSException.MissingDimensionValue,
WMSException.InvalidDimensionValue
- Specified by:
getFeatures
in interface Layer
- Returns:
- a collection of matching features and a list of warning headers (currently only used for dimension
warnings). Return an empty collection if feature info is not supported
- Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue
getFeatureType
public FeatureType getFeatureType()
- Specified by:
getFeatureType
in interface Layer
- Returns:
- the feature type, may be null if feature info is not supported
Copyright © 2011. All Rights Reserved.