Class WmsCapabilities
Object
|
+--Listener
|
+--ModelBase
|
+--WmsCapabilities
- class
WmsCapabilities
- extends ModelBase
Defined in WmsCapabilities.js
Author: Mike Adair
Constructor Summary |
WmsCapabilities
(modelNode, parent)
Stores a Web Map Server (WMS) Capabilities document as defined by the
Open Geospatial Consortium (http://opengis.org and extensions the the WMC.
|
Method Summary |
Object
|
getFeatureNode(featureName)
Returns the Layer node with the specified name from the list of nodes
selected by the nodeSelectXpath from the capabilities doc.
|
Object
|
getImageFormat()
|
Object
|
getServerTitle()
|
Object
|
getServerUrl(requestName, method, feature)
Returns the serverUrl for the WMS request passed in with the specified
HTTP method from the capabilities doc.
|
Object
|
getServiceName()
|
Object
|
getVersion()
Returns the version for the WMS
|
Methods inherited from class ModelBase |
getXpathValue, setXpathValue, loadModelDoc, setModel, finishLoading, newRequest, deleteTemplates, saveModel, createObject, loadObjects, parseConfig, refresh, init, clearModel
|
namespace
Object namespace
WmsCapabilities
WmsCapabilities(modelNode, parent)
Stores a Web Map Server (WMS) Capabilities document as defined by the
Open Geospatial Consortium (http://opengis.org and extensions the the WMC.
Parameters:
modelNode
- The model's XML object node from the configuration document.
parent
- The model object that this widget belongs to.
getFeatureNode
Object getFeatureNode(featureName)
Returns the Layer node with the specified name from the list of nodes
selected by the nodeSelectXpath from the capabilities doc.
Parameters:
featureName
- name of the featureType to look up
Returns:
the Layer node with the specified name.
getImageFormat
Object getImageFormat()
Returns:
the first image format listed
getServerTitle
Object getServerTitle()
Returns:
the title of the WMS server
getServerUrl
Object getServerUrl(requestName, method, feature)
Returns the serverUrl for the WMS request passed in with the specified
HTTP method from the capabilities doc.
Parameters:
requestName
- the WMS request to get the URL for
method
- http method for the request
feature
- ignored for WMS docs
Returns:
URL for the specified request with the specified method
getServiceName
Object getServiceName()
Returns:
the name of the WMS server
getVersion
Object getVersion()
Returns the version for the WMS
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007