Package org.geotools.ows.wms
Class WMSCapabilities
Object
Capabilities
WMSCapabilities
Represents a base object for a WMS getCapabilities response.
- Author:
- Richard Gould, Refractions Research
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Exceptions declare what kind of formats this server can return exceptions in.getLayer()
Get the root layer, the contents of the Web Map Server are the children of this layer.Access a flat view of the layers available in the WMS.The request contains information about possible Requests that can be made against this server, including URLs and formats.void
setExceptions
(String[] exceptions) void
void
setRequest
(WMSRequest request) void
setVersion
(String version) Methods inherited from class Capabilities
getService, getUpdateSequence, getVersion, setService, setUpdateSequence
-
Constructor Details
-
WMSCapabilities
public WMSCapabilities()
-
-
Method Details
-
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
-
setVersion
- Overrides:
setVersion
in classCapabilities
- Parameters:
version
- The version to set.
-
setLayer
-
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
The request contains information about possible Requests that can be made against this server, including URLs and formats.- Returns:
- Returns the request.
-
setRequest
- Parameters:
request
- The request to set.
-
getExceptions
Exceptions declare what kind of formats this server can return exceptions in. They are used during subsequent requests. -
setExceptions
-