org.vfny.geoserver.global
Class WMS

java.lang.Object
  extended byorg.vfny.geoserver.global.GlobalLayerSupertype
      extended byorg.vfny.geoserver.global.Service
          extended byorg.vfny.geoserver.global.WMS

public class WMS
extends Service

WMS

Represents the GeoServer information required to configure an instance of the WMS Server. This class holds the currently used configuration and is instantiated initially by the GeoServerPlugIn at start-up, but may be modified by the Configuration Interface during runtime. Such modifications come from the GeoServer Object in the SessionContext.

WMS wms = new WMS(dto); System.out.println(wms.getName() + wms.WMS_VERSION); System.out.println(wms.getAbstract());


Field Summary
 
Fields inherited from class org.vfny.geoserver.global.Service
config, LOGGER
 
Constructor Summary
WMS(WMSDTO config)
          WMS constructor.
 
Method Summary
 java.lang.String[] getExceptionFormats()
          getExceptionFormats purpose.
 java.lang.String getName()
          overrides getName() to return the fixed service name as specified by OGC WMS 1.1 spec
static java.lang.String getVersion()
          Returns the version of this WMS Instance.
 boolean supportsRemoteWFS()
          Informs the user that this WMS supports Remote WFS.
 boolean supportsSLD()
          Informs the user that this WMS supports SLD
 boolean supportsUserLayer()
          Informs the user that this WMS supports User Layers
 boolean supportsUserStyle()
          Informs the user that this WMS supports User Styles
 
Methods inherited from class org.vfny.geoserver.global.Service
get, get, get, get, get, get, get, get, get, get, get, getAbstract, getAccessConstraints, getFees, getKeywords, getMaintainer, getOnlineResource, getTitle, isEnabled, notNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMS

public WMS(WMSDTO config)
WMS constructor.

Stores the data specified in the WMSDTO object in this WMS Object for GeoServer to use.

Parameters:
config - The data intended for GeoServer to use.
Method Detail

getExceptionFormats

public java.lang.String[] getExceptionFormats()
getExceptionFormats purpose.

Returns a static list of Exception Formats in as Strings

Returns:
String[] a static list of Exception Formats

getName

public java.lang.String getName()
overrides getName() to return the fixed service name as specified by OGC WMS 1.1 spec

Overrides:
getName in class Service
Returns:
static service name.

getVersion

public static java.lang.String getVersion()
Returns the version of this WMS Instance.

Returns:
static version name

supportsSLD

public boolean supportsSLD()
Informs the user that this WMS supports SLD

Returns:
true

supportsUserLayer

public boolean supportsUserLayer()
Informs the user that this WMS supports User Layers

Returns:
true

supportsUserStyle

public boolean supportsUserStyle()
Informs the user that this WMS supports User Styles

Returns:
true

supportsRemoteWFS

public boolean supportsRemoteWFS()
Informs the user that this WMS supports Remote WFS.

Returns:
true