public class WMSCapabilities extends Capabilities
Constructor and Description |
---|
WMSCapabilities() |
Modifier and Type | Method and Description |
---|---|
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) |
void |
setVersion(String version) |
getService, getUpdateSequence, getVersion, setService, setUpdateSequence
public Layer getLayer()
public void setVersion(String version)
setVersion
in class Capabilities
version
- The version to set.public void setLayer(Layer layer)
public List<Layer> getLayerList()
The information available here is the same as doing a top down walk of all the layers available via getLayer().
public WMSRequest getRequest()
public void setRequest(WMSRequest request)
request
- The request to set.public String[] getExceptions()
public void setExceptions(String[] exceptions)
Copyright © 1996–2019 Geotools. All rights reserved.