deegree 2.5 (2011/06/29 09:44 build-8-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:
java.io.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: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Markus Schneider , last edited by: $Author: mschneider $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilities
exceptions
 
Constructor Summary
WMSConfiguration(java.lang.String version, java.lang.String updateSequence, ServiceIdentification serviceIdentification, ServiceProvider serviceProvider, UserDefinedSymbolization userDefinedSymbolization, OperationsMetadata metadata, Layer layer, WMSDeegreeParams deegreeParams, java.net.URL baseURL, java.util.List<java.lang.String> exceptions)
          Generates a new WFSConfiguration instance from the given parameters.
 
Method Summary
 java.lang.String calculateVersion(java.lang.String version)
           
 java.net.URL getBaseURL()
           
 WMSDeegreeParams getDeegreeParams()
           
 void setDeegreeParams(WMSDeegreeParams deegreeParams)
           
 
Methods inherited from class org.deegree.ogcwebservices.wms.capabilities.WMSCapabilities
getExceptions, 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
getExceptions, getLayer, getLayer, getOperationMetadata, getServiceIdentification, getUpdateSequence, getVersion
 

Constructor Detail

WMSConfiguration

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

Parameters:
version -
updateSequence -
serviceIdentification -
serviceProvider -
userDefinedSymbolization -
metadata -
layer -
deegreeParams -
baseURL -
exceptions -
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 java.net.URL getBaseURL()
Specified by:
getBaseURL in interface WMSConfigurationType
Returns:
Gets the base URL which is used to resolve file resource (XSL sheets).

calculateVersion

public java.lang.String calculateVersion(java.lang.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.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