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: 27104 $, $Date: 2010-09-30 14:55:28 +0200 (Do, 30. Sep 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
StatisticsLayer(Layer parent)
           
 
Method Summary
 void close()
           
 org.deegree.geometry.Envelope getBbox()
           
 org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,java.util.LinkedList<java.lang.String>> getFeatures(GetFeatureInfo fi, org.deegree.rendering.r2d.se.unevaluated.Style style)
           
 org.deegree.feature.types.FeatureType getFeatureType()
           
 java.lang.String getName()
           
 boolean isAvailable()
           
 java.util.LinkedList<java.lang.String> paintMap(java.awt.Graphics2D g, GetMap gm, org.deegree.rendering.r2d.se.unevaluated.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, getChild, getChildren, getDimensions, getInternalName, getKeywords, getParent, getScaleHint, getSrs, getTitle, isQueryable, paintMap, remove, render, setAbstract, 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(Layer parent)
Parameters:
parent -
Method Detail

getFeatureType

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

getFeatures

public org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,java.util.LinkedList<java.lang.String>> getFeatures(GetFeatureInfo fi,
                                                                                                                                org.deegree.rendering.r2d.se.unevaluated.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 java.util.LinkedList<java.lang.String> paintMap(java.awt.Graphics2D g,
                                                       GetMap gm,
                                                       org.deegree.rendering.r2d.se.unevaluated.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 java.lang.String getName()
Overrides:
getName in class Layer
Returns:
the name

getBbox

public org.deegree.geometry.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.