Community Map Builder 02 Dec 2005

Class OwsContext

Object
   |
   +--Listener
         |
         +--ModelBase
               |
               +--OwsContext

class OwsContext
extends ModelBase

Author: Mike Adair
Defined in OwsContext.js

Requires:


Field Summary
 Object namespace
          
   
Fields inherited from class ModelBase
async, contentType, modelNode, id, title, url, template, parentModel
   
Fields inherited from class Listener
listeners, values
 
Constructor Summary
OwsContext (modelNode, parent)
            Stores an OWS Context document as defined by the OGC interoperability experiment.
 
Method Summary
 Object getAllLayers()
           Method to get a list of all layers in the context doc TBD: merge this with above, passing queryable as an optional boolean param?
 Object getBoundingBox()
           Get the BoundingBox.
 Object getFeatureNode(featureName)
           returns a node that has the specified feature name in the context doc
 Object getHidden(layerName)
           Get the layer's visiblity attribute value.
 Object getLayer(layerName)
           Method to get a layer with the specified name in the context doc
 Object getMethod(feature)
           Get HTTP method for the specified feature
 Object getQueryableLayers()
           Method to get a list of queryable layers
 Object getServerUrl(requestName, method, feature)
           Returns the serverUrl for the layer passed in as the feature argument.
 Object getSRS()
           Set the Spacial Reference System for layer display and layer requests.
 Object getVersion(feature)
           Returns the WMS version for the layer passed in as the feature argument
 Object getWindowHeight()
           Get the Window height.
 Object getWindowWidth()
           Get the Window width.
 void loadFeatures(objRef)
           listener method which loads WFS features from the context doc, after WMS layers are loaded.
 void setBoundingBox(boundingBox)
           Set the BoundingBox element and call the refresh listeners
 void setHidden(layerName, hidden)
           Change a Layer's visibility.
 void setRequestParameters(featureName, requestStylesheet)
           Listener function which sets stylesheet params for WebServiceRequests
 void setSRS(srs)
           Set the Spacial Reference System for layer display and layer requests.
 void setWindowHeight(height)
           Set the Window height.
 void setWindowWidth(width)
           Set the Window width.
 
Methods inherited from class ModelBase
getXpathValue, setXpathValue, loadModelDoc, setModel, finishLoading, newRequest, deleteTemplates, saveModel, createObject, loadObjects, parseConfig, refresh, init, clearModel
   
Methods inherited from class Listener
addListener, addFirstListener, removeListener, callListeners, setParam, getParam
 

Field Detail

namespace

Object namespace

Constructor Detail

OwsContext

OwsContext(modelNode, parent)

Method Detail

getAllLayers

Object getAllLayers()

getBoundingBox

Object getBoundingBox()

getFeatureNode

Object getFeatureNode(featureName)

getHidden

Object getHidden(layerName)

getLayer

Object getLayer(layerName)

getMethod

Object getMethod(feature)

getQueryableLayers

Object getQueryableLayers()

getServerUrl

Object getServerUrl(requestName, method, feature)

getSRS

Object getSRS()

getVersion

Object getVersion(feature)

getWindowHeight

Object getWindowHeight()

getWindowWidth

Object getWindowWidth()

loadFeatures

void loadFeatures(objRef)

setBoundingBox

void setBoundingBox(boundingBox)

setHidden

void setHidden(layerName, hidden)

setRequestParameters

void setRequestParameters(featureName, requestStylesheet)

setSRS

void setSRS(srs)

setWindowHeight

void setWindowHeight(height)

setWindowWidth

void setWindowWidth(width)

Community Map Builder 02 Dec 2005

Documentation generated by JSDoc on Fri Dec 2 16:31:06 2005