Package com.luciad.wms.server.model
Class ALcdWMSCapabilities
java.lang.Object
com.luciad.wms.server.model.ALcdWMSCapabilities
- All Implemented Interfaces:
ILcdCloneable
,Cloneable
- Direct Known Subclasses:
TLcdWMSCapabilities
Represents the capabilities of a WMS.
Implementations of this class define what the WMS can show :
which layers, which srs, which styles, etc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of this object.abstract ALcdWMSLayer
findWMSLayer
(String aLayerName) Find theALcdWMSLayer
object for a layer name.getDescribeLayerFormat
(int aIndex) Returns the describe layer format at a given index (MIME type).int
Returns the number of describe layer formats.abstract String
getFeatureInfoFormat
(int aIndex) Returns the feature info format at a given index (MIME type).abstract int
Returns the number of feature info formats.getLegendGraphicFormat
(int aIndex) Returns the legend graphic format at a given index (MIME type).int
Returns the number of legend graphic formats.abstract String
Returns the path of the root folder from which map data is loaded.abstract String
getMapFormat
(int aIndex) Returns the map format at a given index (MIME type).abstract int
Returns the number of map formats.abstract ALcdWMSLayer
getRootWMSLayer
(int aIndex) Returns the top-level layer at an index.abstract int
Returns the number of root layers.abstract String
getSpatialReferenceSystem
(int aIndex) Returns the published spatial reference system (SRS) at an index.abstract int
Returns the number of published spatial reference systems (SRS).abstract String
Returns the update sequence value associated with this capabilities object.abstract ALcdWMSServiceMetaData
Returns the service meta data of the WMS.abstract boolean
isAllowedStyleID
(String aLayerName, String aStyleID) Returns true is a given style id is allowed for a given layer.
-
Constructor Details
-
ALcdWMSCapabilities
public ALcdWMSCapabilities()
-
-
Method Details
-
getRootWMSLayerCount
public abstract int getRootWMSLayerCount()Returns the number of root layers.- Returns:
- the number of root layers.
-
getRootWMSLayer
Returns the top-level layer at an index.- Parameters:
aIndex
- the index of the root layer.- Returns:
- the top-level
ALcdWMSLayer
at an index. - Throws:
IndexOutOfBoundsException
- if the index is out of bounds.
-
getWMSServiceMetaData
Returns the service meta data of the WMS.- Returns:
- the service meta data of the WMS.
-
findWMSLayer
Find theALcdWMSLayer
object for a layer name.- Parameters:
aLayerName
- aString
with name.- Returns:
- the requested
ALcdWMSLayer
.
-
isAllowedStyleID
Returns true is a given style id is allowed for a given layer.- Parameters:
aLayerName
- aString
with the layername.aStyleID
- aString
with the style id to be checked.- Returns:
- true if the style ID is allowed, else false.
-
getMapFormatCount
public abstract int getMapFormatCount()Returns the number of map formats.- Returns:
- the number of map formats.
-
getMapFormat
Returns the map format at a given index (MIME type).- Parameters:
aIndex
- the index of the map format.- Returns:
- the map format at a given index (MIME type).
- Throws:
IndexOutOfBoundsException
- if invalid index.
-
getFeatureInfoFormatCount
public abstract int getFeatureInfoFormatCount()Returns the number of feature info formats.- Returns:
- the number of feature info formats.
-
getFeatureInfoFormat
Returns the feature info format at a given index (MIME type).- Parameters:
aIndex
- the index of the feature info format.- Returns:
- the feature info format at a given index (MIME type).
- Throws:
IndexOutOfBoundsException
- if invalid index.
-
getLegendGraphicFormatCount
public int getLegendGraphicFormatCount()Returns the number of legend graphic formats.- Returns:
- the number of legend graphic formats.
-
getLegendGraphicFormat
Returns the legend graphic format at a given index (MIME type).- Parameters:
aIndex
- the index of the legend graphic format.- Returns:
- the legend graphic format at a given index (MIME type).
- Throws:
IndexOutOfBoundsException
- if invalid index.
-
getDescribeLayerFormatCount
public int getDescribeLayerFormatCount()Returns the number of describe layer formats.- Returns:
- the number of describe layer formats.
-
getDescribeLayerFormat
Returns the describe layer format at a given index (MIME type).- Parameters:
aIndex
- the index of the describe layer format.- Returns:
- the describe layer format at a given index (MIME type).
- Throws:
IndexOutOfBoundsException
- if invalid index.
-
getSpatialReferenceSystemCount
public abstract int getSpatialReferenceSystemCount()Returns the number of published spatial reference systems (SRS).- Returns:
- the number of published spatial reference systems (SRS).
-
getSpatialReferenceSystem
Returns the published spatial reference system (SRS) at an index.- Parameters:
aIndex
- the index of the spatial reference system.- Returns:
- the published spatial reference system (SRS) at an index.
- Throws:
IndexOutOfBoundsException
- if index is out of bounds.
-
getMapDataFolder
Returns the path of the root folder from which map data is loaded.- Returns:
- the path of the root folder from which map data is loaded.
-
getUpdateSequence
Returns the update sequence value associated with this capabilities object.- Returns:
- the update sequence value associated with this capabilities object.
-
clone
Returns a clone of this object.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classObject
- Returns:
- a clone of this object.
- Since:
- 2014.0
- See Also:
-