public class Capabilities
extends java.lang.Object
| Constructor and Description |
|---|
Capabilities(WMService service,
java.lang.String title,
MapLayer topLayer,
java.util.Collection mapFormats)
Creates a new WMS Capabilities object.
|
Capabilities(WMService service,
java.lang.String title,
MapLayer topLayer,
java.util.Collection mapFormats,
java.lang.String getMapURL,
java.lang.String getFeatureInfoURL) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGetFeatureInfoURL() |
java.lang.String |
getGetMapURL() |
java.lang.String[] |
getMapFormats()
Gets a copy of the list of formats supported by this getMap requests for this map.
|
MapLayer |
getMapLayerByName(java.lang.String name)
Get a MapLayer by name
|
WMService |
getService()
Gets a reference to the service which these Capabilities describe.
|
java.lang.String |
getTitle()
Gets the title of the Capabilities.
|
MapLayer |
getTopLayer()
Gets the top layer for these Capabilities.
|
void |
setGetMapURL(java.lang.String url) |
public Capabilities(WMService service, java.lang.String title, MapLayer topLayer, java.util.Collection mapFormats)
service - the WMService to which these Capabilites belongtitle - the title of this WMServicetopLayer - the top MapLayer of the entire layer treemapFormats - the Collection of supported formatspublic WMService getService()
public MapLayer getTopLayer()
public MapLayer getMapLayerByName(java.lang.String name)
public java.lang.String getTitle()
public java.lang.String getGetMapURL()
public java.lang.String getGetFeatureInfoURL()
public void setGetMapURL(java.lang.String url)
public java.lang.String[] getMapFormats()