org.deegree.services.wms.model.layers
Class RemoteWMSLayer
java.lang.Object
org.deegree.services.wms.model.layers.Layer
org.deegree.services.wms.model.layers.RemoteWMSLayer
public class RemoteWMSLayer
- extends Layer
RemoteWMSLayer
- Version:
- $Revision: 21116 $, $Date: 2009-11-30 15:00:16 +0100 (Mo, 30 Nov 2009) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
Constructor Summary |
RemoteWMSLayer(AbstractLayerType layer,
Layer parent,
org.deegree.commons.datasource.configuration.WMSDataSourceType datasource,
org.deegree.commons.xml.XMLAdapter adapter)
|
Methods inherited from class org.deegree.services.wms.model.layers.Layer |
addOrReplace, close, getAbstract, getBbox, getChild, getChildren, getDimensions, getKeywords, getName, getParent, getScaleHint, getSrs, getTitle, isAvailable, remove, render, setAbstract, setBbox, setChildren, setKeywords, setName, setParent, setScaleHint, setSrs, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteWMSLayer
public RemoteWMSLayer(AbstractLayerType layer,
Layer parent,
org.deegree.commons.datasource.configuration.WMSDataSourceType datasource,
org.deegree.commons.xml.XMLAdapter adapter)
throws MalformedURLException
- Parameters:
layer
- parent
- datasource
- adapter
-
- Throws:
MalformedURLException
paintMap
public LinkedList<String> paintMap(Graphics2D g,
GetMap gm,
org.deegree.rendering.r2d.se.unevaluated.Style style)
- Specified by:
paintMap
in class Layer
- Returns:
- a list of warning headers (currently only used for dimension warnings)
paintMap
public org.deegree.commons.utils.Pair<BufferedImage,LinkedList<String>> paintMap(GetMap gm,
org.deegree.rendering.r2d.se.unevaluated.Style style)
- Overrides:
paintMap
in class Layer
- Returns:
- a buffered image containing the map, and warning headers
getFeatures
public org.deegree.commons.utils.Pair<org.deegree.feature.FeatureCollection,LinkedList<String>> getFeatures(GetFeatureInfo fi,
org.deegree.rendering.r2d.se.unevaluated.Style style)
- Specified by:
getFeatures
in class Layer
- Returns:
- a collection of matching features and a list of warning headers (currently only used for dimension
warnings)
getFeatureType
public org.deegree.feature.types.FeatureType getFeatureType()
- Specified by:
getFeatureType
in class Layer
- Returns:
- the feature type, or null, if not applicable
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>