org.geotools.data.ows
Class WMSCapabilities

java.lang.Object
  extended by org.geotools.data.ows.Capabilities
      extended by org.geotools.data.ows.WMSCapabilities

public class WMSCapabilities
extends Capabilities

Represents a base object for a WMS getCapabilities response.

Author:
Richard Gould, Refractions Research

Constructor Summary
WMSCapabilities()
           
 
Method Summary
 java.lang.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.
 java.util.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(java.lang.String[] exceptions)
           
 void setLayer(Layer layer)
           
 void setRequest(WMSRequest request)
           
 
Methods inherited from class org.geotools.data.ows.Capabilities
getService, getUpdateSequence, getVersion, setService, setUpdateSequence, setVersion
 
Methods inherited from class java.lang.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 java.util.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 java.lang.String[] getExceptions()
Exceptions declare what kind of formats this server can return exceptions in. They are used during subsequent requests.


setExceptions

public void setExceptions(java.lang.String[] exceptions)


Copyright © 1996-2010 Geotools. All Rights Reserved.