Package com.luciad.wms.client.model
Class ALcdOGCWMSCapabilities
java.lang.Object
com.luciad.wms.client.model.ALcdOGCWMSCapabilities
This class contains information about the capabilities of a Web Map Service.
This includes:
- General metadata
- URL and output format information
- Layer descriptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns the URL prefix for invoking a DescribeLayer request.abstract String
Returns the URL prefix for invoking a GetFeatureInfo request.abstract String
Returns the URL prefix for invoking a GetLegendGraphic request.abstract String
Returns the URL prefix for invoking a GetMap request.Returns the operations metadata of the capabilities.abstract URL
Returns theURL
of the server.abstract String
getSupportedExceptionFormat
(int aIndex) Returns the supported exception format at an index.abstract int
Returns the number of exception formats supported by the WMS.abstract String
getSupportedFeatureInfoFormat
(int aIndex) Returns the supported feature info format at an index.abstract int
Returns the number of feature info formats supported by the WMS.abstract String
getSupportedLegendGraphicFormat
(int aIndex) Returns the supported legend graphic format at an index.abstract int
Returns the number of legend graphic formats supported by the WMS.abstract String
getSupportedMapFormat
(int aIndex) Returns the supported map format at an index.abstract int
Returns the number of map formats supported by the WMS.abstract String
Returns the update sequence value of the WMS.abstract String
Returns the version of the WMS.abstract ALcdWMSNamedLayer
getWMSRootNamedLayer
(int aIndex) Returns the top level layer at a given index.abstract int
Returns the number of top levelALcdWMSNamedLayer
instances.abstract ALcdOGCWMSService
Returns anALcdOGCWMSService
instance that contains general information about the WMS.
-
Constructor Details
-
ALcdOGCWMSCapabilities
public ALcdOGCWMSCapabilities()
-
-
Method Details
-
getWMSRootNamedLayerCount
public abstract int getWMSRootNamedLayerCount()Returns the number of top levelALcdWMSNamedLayer
instances.- Returns:
- the number of top level
ALcdWMSNamedLayer
instances.
-
getWMSRootNamedLayer
Returns the top level layer at a given index.- Parameters:
aIndex
- the index of the top level layer.- Returns:
- the top level layer at a given index.
- Throws:
IndexOutOfBoundsException
- if the index is out of bounds.
-
getServerURL
Returns theURL
of the server.- Returns:
- the URL of the server.
-
getGetMapURL
Returns the URL prefix for invoking a GetMap request.- Returns:
- the URL prefix for invoking a GetMap request.
-
getSupportedMapFormatCount
public abstract int getSupportedMapFormatCount()Returns the number of map formats supported by the WMS.- Returns:
- the number of map formats supported by the WMS.
-
getSupportedMapFormat
Returns the supported map format at an index. The format is specified by its MIME-type.- Parameters:
aIndex
- the index of the map format to return.- Returns:
- the supported map format at a given index.
- Throws:
IndexOutOfBoundsException
- in case of an invalid index.
-
getGetFeatureInfoURL
Returns the URL prefix for invoking a GetFeatureInfo request. If the request is not support by the server,null
is returned.- Returns:
- the URL prefix for invoking a GetFeatureInfo request, or
null
if it is not supported.
-
getSupportedFeatureInfoFormatCount
public abstract int getSupportedFeatureInfoFormatCount()Returns the number of feature info formats supported by the WMS.- Returns:
- the number of feature info formats supported by the WMS.
-
getSupportedFeatureInfoFormat
Returns the supported feature info format at an index.- Parameters:
aIndex
- the index of the feature info format to return.- Returns:
- the supported feature info format at an index.
- Throws:
IndexOutOfBoundsException
- in case of an invalid index.
-
getDescribeLayerURL
Returns the URL prefix for invoking a DescribeLayer request. If the request is not support by the server,null
is returned.- Returns:
- the URL prefix for invoking a DescribeLayer request, or
null
if it is not supported.
-
getGetLegendGraphicURL
Returns the URL prefix for invoking a GetLegendGraphic request. If the request is not support by the server,null
is returned.- Returns:
- the URL prefix for invoking a GetLegendGraphic request, or
null
if it is not supported.
-
getSupportedLegendGraphicFormatCount
public abstract int getSupportedLegendGraphicFormatCount()Returns the number of legend graphic formats supported by the WMS.- Returns:
- the number of legend graphic formats supported by the WMS.
-
getSupportedLegendGraphicFormat
Returns the supported legend graphic format at an index.- Parameters:
aIndex
- the index of the legend graphic format to return.- Returns:
- the supported legend graphic format at an index.
- Throws:
IndexOutOfBoundsException
- in case of an invalid index.
-
getSupportedExceptionFormatCount
public abstract int getSupportedExceptionFormatCount()Returns the number of exception formats supported by the WMS.- Returns:
- the number of exception formats supported by the WMS.
-
getSupportedExceptionFormat
Returns the supported exception format at an index.- Parameters:
aIndex
- the index of the exception format to return.- Returns:
- the supported exception format at an index.
- Throws:
IndexOutOfBoundsException
- in case of an invalid index.
-
getWMSService
Returns anALcdOGCWMSService
instance that contains general information about the WMS.- Returns:
- an
ALcdOGCWMSService
instance that contains general information about the WMS.
-
getVersion
Returns the version of the WMS.- Returns:
- the version of the WMS.
-
getUpdateSequence
Returns the update sequence value of the WMS.- Returns:
- the update sequence value of the WMS.
-
getOperationsMetadata
Returns the operations metadata of the capabilities.Although the WMS capabilities schema for 1.3.0 and DTD for 1.1.1 do not use the ows:operationsMetadata XML element, the WMS operations element is mapped to
TLcdOWSOperationsMetadata
to make it easier to integrate with the existing OWS connection framework.A WMS operation can contain multiple "Format" elements. The values of these elements are stored as a parameter in the corresponding
TLcdOWSOperation
. This parameter can be recognized by its name "Format". The other elements of a WMS operation correspond directly with the properties of aTLcdOWSOperation
.- Returns:
- A
TLcdOWSOperationsMetadata
object containing the operations described in the capabilities. - See Also:
-