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

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

public class RasterLayer
extends Layer

RasterLayer

Version:
$Revision: 31653 $, $Date: 2011-08-25 13:19:01 +0200 (Thu, 25 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
RasterLayer(MapService service, AbstractLayerType lay, Layer parent)
           
 
Method Summary
 Envelope getBbox()
           
 Pair<FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi, Style style)
           
 FeatureType getFeatureType()
           
 boolean isAvailable()
           
 LinkedList<String> paintMap(Graphics2D g, GetMap gm, Style style)
           
 String toString()
           
 
Methods inherited from class org.deegree.services.wms.model.layers.Layer
addOrReplace, close, getAbstract, getAuthorityIdentifier, getAuthorityURL, getChild, getChildren, getDataMetadataSetId, getDimensions, getInternalName, getKeywords, getName, 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

RasterLayer

public RasterLayer(MapService service,
                   AbstractLayerType lay,
                   Layer parent)
Parameters:
lay -
parent -
Method Detail

getFeatureType

public FeatureType getFeatureType()
Specified by:
getFeatureType in class Layer
Returns:
the feature type, or null, if not applicable

isAvailable

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

getFeatures

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

getBbox

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

paintMap

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.