deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wpvs.configuration
Class LocalWMSDataSource

java.lang.Object
  extended by org.deegree.ogcwebservices.wpvs.configuration.AbstractDataSource
      extended by org.deegree.ogcwebservices.wpvs.configuration.LocalWMSDataSource
Direct Known Subclasses:
RemoteWMSDataSource

public class LocalWMSDataSource
extends AbstractDataSource

This class represents a local WMS dataSource object.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Judit Mays, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.wpvs.configuration.AbstractDataSource
LOCAL_WCS, LOCAL_WFS, LOCAL_WMS, REMOTE_WCS, REMOTE_WFS, REMOTE_WMS, SERVICE_TYPE_TO_NAME
 
Constructor Summary
LocalWMSDataSource(QualifiedName name, OWSCapabilities owsCapabilities, Surface validArea, double minScaleDenominator, double maxScaleDenominator, GetMap filterCondition, java.awt.Color[] transparentColors)
          Creates a new LocalWMSDataSource object from the given parameters.
 
Method Summary
 OGCWebService getOGCWebService()
          Returns an instance of the OGCWebService that represents the datasource.
 GetMap getPartialGetMapRequest()
          The filterCondition is a map of key-value-pairs of an incomplete WMSRequest.
 java.awt.Color[] getTransparentColors()
           
 
Methods inherited from class org.deegree.ogcwebservices.wpvs.configuration.AbstractDataSource
getFilterCondition, getMaxScaleDenominator, getMinScaleDenominator, getName, getOwsCapabilities, getServiceType, getValidArea, setServiceType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalWMSDataSource

public LocalWMSDataSource(QualifiedName name,
                          OWSCapabilities owsCapabilities,
                          Surface validArea,
                          double minScaleDenominator,
                          double maxScaleDenominator,
                          GetMap filterCondition,
                          java.awt.Color[] transparentColors)
Creates a new LocalWMSDataSource object from the given parameters.

Parameters:
name -
owsCapabilities -
validArea -
minScaleDenominator -
maxScaleDenominator -
filterCondition -
transparentColors -
Method Detail

getPartialGetMapRequest

public GetMap getPartialGetMapRequest()
The filterCondition is a map of key-value-pairs of an incomplete WMSRequest.

Returns:
Returns the filterCondition as a map of key-value-pairs.

getTransparentColors

public java.awt.Color[] getTransparentColors()
Returns:
Returns the transparentColors.

getOGCWebService

public OGCWebService getOGCWebService()
                               throws OGCWebServiceException
Description copied from class: AbstractDataSource
Returns an instance of the OGCWebService that represents the datasource. Notice: if more than one datasets uses data that are offered by the same OWS, deegree WPVS will use just one instance for accessing the OWS

Specified by:
getOGCWebService in class AbstractDataSource
Returns:
an OGCWebService which represents this datasource
Throws:
OGCWebServiceException
See Also:
AbstractDataSource.getOGCWebService()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org