Class WfsCapabilities
Object
|
+--Listener
|
+--ModelBase
|
+--WfsCapabilities
- class
WfsCapabilities
- extends ModelBase
Defined in WfsCapabilities.js
Author: Mike Adair
Constructor Summary |
WfsCapabilities
(modelNode, parent)
Stores a Web Feature (WFS) Capabilities document as defined by the
Open Geospatial Consortium (http://opengis.org).
|
Method Summary |
Object
|
getFeatureNode(featureName)
Returns the featureType node with the specified name from the list of nodes
selected by the nodeSelectXpath from the capabilities doc.
|
Object
|
getMethod()
Get HTTP method used to retreive this model
|
Object
|
getServerUrl(requestName, method, feature)
Returns the serverUrl for the WFS request passed in with the specified
HTTP method from the capabilities doc.
|
Object
|
getVersion()
Returns the version for the WFS
|
Methods inherited from class ModelBase |
getXpathValue, setXpathValue, loadModelDoc, setModel, finishLoading, newRequest, deleteTemplates, saveModel, createObject, loadObjects, parseConfig, refresh, init, clearModel
|
namespace
Object namespace
WfsCapabilities
WfsCapabilities(modelNode, parent)
Stores a Web Feature (WFS) Capabilities document as defined by the
Open Geospatial Consortium (http://opengis.org).
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 featureType 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 featureType node with the specified name.
getMethod
Object getMethod()
Get HTTP method used to retreive this model
getServerUrl
Object getServerUrl(requestName, method, feature)
Returns the serverUrl for the WFS request passed in with the specified
HTTP method from the capabilities doc.
Parameters:
requestName
- the WFS request to get the URL for
method
- http method for the request
feature
- ignored for WFS docs
Returns:
URL for the specified request with the specified method
getVersion
Object getVersion()
Returns the version for the WFS
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007