Class Capabilities
java.lang.Object
com.vividsolutions.wms.Capabilities
Represents the capabilities WMS XML.
- Author:
- Chris Hodgson chodgson@refractions.net
-
Constructor Summary
ConstructorsConstructorDescriptionCapabilities(WMService service, String title, MapLayer topLayer, Collection<String> mapFormats, Collection<String> infoFormats) Creates a new WMS Capabilities object.Capabilities(WMService service, String title, MapLayer topLayer, Collection<String> mapFormats, Collection<String> infoFormats, String getMapURL, String featureInfoURL) -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets a copy of the list of formats supported by this getMap requests for this map.getMapLayerByName(String name) Get a MapLayer by nameGets a reference to the service which these Capabilities describe.getTitle()Gets the title of the Capabilities.Gets the top layer for these Capabilities.voidsetGetMapURL(String url)
-
Constructor Details
-
Capabilities
public Capabilities(WMService service, String title, MapLayer topLayer, Collection<String> mapFormats, Collection<String> infoFormats) Creates a new WMS Capabilities object. Should generally only be used by the Parser.- Parameters:
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 formats
-
Capabilities
public Capabilities(WMService service, String title, MapLayer topLayer, Collection<String> mapFormats, Collection<String> infoFormats, String getMapURL, String featureInfoURL)
-
-
Method Details
-
getService
Gets a reference to the service which these Capabilities describe.- Returns:
- the WMService which these Capabilities describe
-
getTopLayer
Gets the top layer for these Capabilities.- Returns:
- the top MapLayer for these Capabilities
-
getMapLayerByName
-
getTitle
Gets the title of the Capabilities.- Returns:
- the title of the map described by these Capabilities
-
getGetMapURL
-
getFeatureInfoURL
-
setGetMapURL
-
getMapFormats
Gets a copy of the list of formats supported by this getMap requests for this map.- Returns:
- an array containing the formats supported by getMap requests for this map
-
getInfoFormat
-