org.deegree.layer
Interface Layer

All Known Implementing Classes:
AbstractLayer, FeatureLayer, RemoteWMSLayer

public interface 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 $

Method Summary
 Pair<FeatureCollection,LinkedList<String>> getFeatures(RenderingInfo info, Style style)
           
 FeatureType getFeatureType()
           
 LayerMetadata getMetadata()
           
 LinkedList<String> paintMap(RenderContext context, RenderingInfo info, Style style)
          Method to paint on a graphics object.
 

Method Detail

getMetadata

LayerMetadata getMetadata()
Returns:
the layer metadata

paintMap

LinkedList<String> paintMap(RenderContext context,
                            RenderingInfo info,
                            Style style)
                            throws WMSException.MissingDimensionValue,
                                   WMSException.InvalidDimensionValue
Method to paint on a graphics object.

Parameters:
context -
info -
style -
Returns:
a list of warning headers (currently only used for dimension warnings)
Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue

getFeatures

Pair<FeatureCollection,LinkedList<String>> getFeatures(RenderingInfo info,
                                                       Style style)
                                                       throws WMSException.MissingDimensionValue,
                                                              WMSException.InvalidDimensionValue
Parameters:
info -
style -
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

FeatureType getFeatureType()
Returns:
the feature type, may be null if feature info is not supported


Copyright © 2011. All Rights Reserved.