org.deegree.services.wms.model.layers
Class StatisticsLayer

java.lang.Object
  extended by org.deegree.services.wms.model.layers.Layer
      extended by org.deegree.services.wms.model.layers.FeatureLayer
          extended by org.deegree.services.wms.model.layers.StatisticsLayer

public class StatisticsLayer
extends FeatureLayer

StatisticsLayer

Version:
$Revision: 31400 $, $Date: 2011-08-02 10:11:48 +0200 (Tue, 02 Aug 2011) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Field Summary
 
Fields inherited from class org.deegree.services.wms.model.layers.Layer
service
 
Constructor Summary
StatisticsLayer(MapService service, Layer parent)
           
 
Method Summary
 void close()
           
 Envelope getBbox()
           
 Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi, Style style)
           
 FeatureType getFeatureType()
           
 String getName()
           
 boolean isAvailable()
           
 LinkedList<String> paintMap(Graphics2D g, GetMap gm, Style style)
           
 
Methods inherited from class org.deegree.services.wms.model.layers.FeatureLayer
collectQueries, getDataStore, getDimensionFilter, toString
 
Methods inherited from class org.deegree.services.wms.model.layers.Layer
addOrReplace, getAbstract, getAuthorityIdentifier, getAuthorityURL, getChild, getChildren, getDataMetadataSetId, getDimensions, getInternalName, getKeywords, getParent, getScaleHint, getSrs, getTitle, isQueryable, paintMap, remove, render, setAbstract, setAuthorityIdentifier, setAuthorityURL, setBbox, setChildren, setInternalName, setKeywords, setName, setParent, setScaleHint, setSrs, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatisticsLayer

public StatisticsLayer(MapService service,
                       Layer parent)
Parameters:
parent -
Method Detail

getFeatureType

public FeatureType getFeatureType()
Overrides:
getFeatureType in class FeatureLayer
Returns:
the feature type, or null, if not applicable

getFeatures

public Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi,
                                                              Style style)
                                                       throws WMSException.MissingDimensionValue,
                                                              WMSException.InvalidDimensionValue
Overrides:
getFeatures in class FeatureLayer
Returns:
a collection of matching features and a list of warning headers (currently only used for dimension warnings)
Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue

paintMap

public LinkedList<String> paintMap(Graphics2D g,
                                   GetMap gm,
                                   Style style)
                            throws WMSException.MissingDimensionValue,
                                   WMSException.InvalidDimensionValue
Overrides:
paintMap in class FeatureLayer
Returns:
a list of warning headers (currently only used for dimension warnings)
Throws:
WMSException.MissingDimensionValue
WMSException.InvalidDimensionValue

getName

public String getName()
Overrides:
getName in class Layer
Returns:
the name

getBbox

public Envelope getBbox()
Overrides:
getBbox in class FeatureLayer
Returns:
the bbox

isAvailable

public boolean isAvailable()
Overrides:
isAvailable in class FeatureLayer
Returns:
true if it's data source is currently available

close

public void close()
Overrides:
close in class FeatureLayer


Copyright © 2011. All Rights Reserved.