deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.ogcwebservices.wms.configuration
Class WMSConfiguration

java.lang.Object
  extended by org.deegree.ogcwebservices.getcapabilities.OGCCapabilities
      extended by org.deegree.ogcwebservices.wms.capabilities.WMSCapabilities
          extended by org.deegree.ogcwebservices.wms.configuration.WMSConfiguration
All Implemented Interfaces:
Serializable, WMSConfigurationType

public class WMSConfiguration
extends WMSCapabilities
implements WMSConfigurationType

Represents the configuration for a deegree WFS 1.1.1 instance (or earlier). Implements the WMSConfigurationType interface required by all configurations.

Since:
2.0
Version:
2.0, $Revision: 6846 $, $Date: 2007-05-07 13:27:04 +0200 (Mo, 07 Mai 2007) $
Author:
Markus Schneider , last edited by: $Author: apoth $
See Also:
Serialized Form

Constructor Summary
WMSConfiguration(String version, String updateSequence, ServiceIdentification serviceIdentification, ServiceProvider serviceProvider, UserDefinedSymbolization userDefinedSymbolization, OperationsMetadata metadata, Layer layer, WMSDeegreeParams deegreeParams, URL baseURL)
          Generates a new WFSConfiguration instance from the given parameters.
 
Method Summary
 String calculateVersion(String version)
           
 URL getBaseURL()
           
 WMSDeegreeParams getDeegreeParams()
           
 void setDeegreeParams(WMSDeegreeParams deegreeParams)
           
 
Methods inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilities
getLayer, getLayer, getLayerByTitle, getOperationMetadata, getServiceIdentification, getServiceProvider, getUserDefinedSymbolization, hasDoubleLayers, setLayer, setOperationMetadata, setServiceIdentification, setServiceProvider, setUserDefinedSymbolization
 
Methods inherited from class org.deegree.ogcwebservices.getcapabilities.OGCCapabilities
getUpdateSequence, getVersion, setUpdateSequence, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.ogcwebservices.wms.configuration.WMSConfigurationType
getLayer, getLayer, getOperationMetadata, getServiceIdentification, getUpdateSequence, getVersion
 

Constructor Detail

WMSConfiguration

public WMSConfiguration(String version,
                        String updateSequence,
                        ServiceIdentification serviceIdentification,
                        ServiceProvider serviceProvider,
                        UserDefinedSymbolization userDefinedSymbolization,
                        OperationsMetadata metadata,
                        Layer layer,
                        WMSDeegreeParams deegreeParams,
                        URL baseURL)
Generates a new WFSConfiguration instance from the given parameters.

Parameters:
version -
updateSequence -
serviceIdentification -
serviceProvider -
userDefinedSymbolization -
metadata -
layer -
deegreeParams -
baseURL -
Method Detail

getDeegreeParams

public WMSDeegreeParams getDeegreeParams()
Specified by:
getDeegreeParams in interface WMSConfigurationType
Returns:
Returns the deegreeParams.

setDeegreeParams

public void setDeegreeParams(WMSDeegreeParams deegreeParams)
Specified by:
setDeegreeParams in interface WMSConfigurationType
Parameters:
deegreeParams - The deegreeParams to set.

getBaseURL

public URL getBaseURL()
Specified by:
getBaseURL in interface WMSConfigurationType
Returns:
Gets the base URL which is used to resolve file resource (XSL sheets).

calculateVersion

public String calculateVersion(String version)
Specified by:
calculateVersion in interface WMSConfigurationType
Parameters:
version - the input version
Returns:
the nearest supported version according to the version negotiation rules.

deegree 2.1 (2007/11/08 09:57 build-328-official)

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