org.deegree.layer.persistence.remotewms
Class RemoteWMSLayer

java.lang.Object
  extended by org.deegree.layer.AbstractLayer
      extended by org.deegree.layer.persistence.remotewms.RemoteWMSLayer
All Implemented Interfaces:
Layer

public class RemoteWMSLayer
extends AbstractLayer


Field Summary
 
Fields inherited from class org.deegree.layer.AbstractLayer
LAYER_METADATA, LAYER_NAME
 
Constructor Summary
protected RemoteWMSLayer(String originalName, LayerMetadata md, WMSClient client, RequestOptionsType opts)
           
 
Method Summary
 Pair<FeatureCollection,LinkedList<String>> getFeatures(RenderingInfo info, Style style)
           
 LinkedList<String> paintMap(RenderContext context, RenderingInfo info, Style style)
          Method to paint on a graphics object.
 
Methods inherited from class org.deegree.layer.AbstractLayer
getFeatureType, getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteWMSLayer

protected RemoteWMSLayer(String originalName,
                         LayerMetadata md,
                         WMSClient client,
                         RequestOptionsType opts)
Method Detail

paintMap

public LinkedList<String> paintMap(RenderContext context,
                                   RenderingInfo info,
                                   Style style)
                            throws WMSException.MissingDimensionValue,
                                   WMSException.InvalidDimensionValue
Description copied from interface: Layer
Method to paint on a graphics object.

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

getFeatures

public Pair<FeatureCollection,LinkedList<String>> getFeatures(RenderingInfo info,
                                                              Style style)
                                                       throws WMSException.MissingDimensionValue,
                                                              WMSException.InvalidDimensionValue
Specified by:
getFeatures in interface Layer
Overrides:
getFeatures in class AbstractLayer
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


Copyright © 2011. All Rights Reserved.