org.geotools.data.ows
Class WMSCapabilities

Object
  extended by Capabilities
      extended by WMSCapabilities

public class WMSCapabilities
extends Capabilities

Represents a base object for a WMS getCapabilities response.

Author:
Richard Gould, Refractions Research
Module:
modules/extension/wms (gt-wms.jar)

Constructor Summary
WMSCapabilities()
           
 
Method Summary
 String[] getExceptions()
          Exceptions declare what kind of formats this server can return exceptions in.
 Layer getLayer()
          Get the root layer, the contents of the Web Map Server are the children of this layer.
 List<Layer> getLayerList()
          Access a flat view of the layers available in the WMS.
 WMSRequest getRequest()
          The request contains information about possible Requests that can be made against this server, including URLs and formats.
 void setExceptions(String[] exceptions)
           
 void setLayer(Layer layer)
           
 void setRequest(WMSRequest request)
           
 
Methods inherited from class Capabilities
getService, getUpdateSequence, getVersion, setService, setUpdateSequence, setVersion
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSCapabilities

public WMSCapabilities()
Method Detail

getLayer

public Layer getLayer()
Get the root layer, the contents of the Web Map Server are the children of this layer.

Returns:
The "root" Layer for the Web Map Server

setLayer

public void setLayer(Layer layer)

getLayerList

public List<Layer> getLayerList()
Access a flat view of the layers available in the WMS.

The information available here is the same as doing a top down walk of all the layers available via getLayer().

Returns:
List of all available layers

getRequest

public WMSRequest getRequest()
The request contains information about possible Requests that can be made against this server, including URLs and formats.

Returns:
Returns the request.

setRequest

public void setRequest(WMSRequest request)
Parameters:
request - The request to set.

getExceptions

public String[] getExceptions()
Exceptions declare what kind of formats this server can return exceptions in. They are used during subsequent requests.


setExceptions

public void setExceptions(String[] exceptions)


Copyright © 1996-2009 Geotools. All Rights Reserved.