Package org.locationtech.jts.wms
Class Capabilities
- java.lang.Object
-
- org.locationtech.jts.wms.Capabilities
-
public class Capabilities extends Object
Represents the capabilities WMS XML.- Author:
- Chris Hodgson chodgson@refractions.net
-
-
Constructor Summary
Constructors Constructor Description Capabilities(WMService service, String title, MapLayer topLayer, Collection mapFormats)Creates a new WMS Capabilities object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getMapFormats()Gets a copy of the list of formats supported by this getMap requests for this map.WMServicegetService()Gets a reference to the service which these Capabilities describe.StringgetTitle()Gets the title of the Capabilities.MapLayergetTopLayer()Gets the top layer for these Capabilities.
-
-
-
Constructor Detail
-
Capabilities
public Capabilities(WMService service, String title, MapLayer topLayer, Collection mapFormats)
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 treeformatList- the Collection of supported formats
-
-
Method Detail
-
getService
public WMService getService()
Gets a reference to the service which these Capabilities describe.- Returns:
- the WMService which these Capabilities describe
-
getTopLayer
public MapLayer getTopLayer()
Gets the top layer for these Capabilities.- Returns:
- the top MapLayer for these Capabilities
-
getTitle
public String getTitle()
Gets the title of the Capabilities.- Returns:
- the title of the map described by these Capabilities
-
getMapFormats
public String[] 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
-
-