Class WebServiceRequest
Object
   |
   +--ToolBase
         |
         +--WebServiceRequest
   
   - class 
   WebServiceRequest
   
      
- extends ToolBase 
   
  
   
   
   Defined in WebServiceRequest.js
   
   
   
   
      
    
   
   
   
    
   
 
| 
Constructor Summary | 
   
      
	 
	    WebServiceRequest 
	 
	 (toolNode, model)
      
       
                 
      A controller issuing OGC web service requests.
       | 
 
| 
Method Summary | 
   
      
	 
	     Object
	 
       | 
      
	 
	    
	       createHttpPayload(feature)
	 
	  
	           
	 Function which create the HTTP payload for a request
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       doRequest(objRef, featureName)
	 
	  
	           
	 Listener function which will actually issue the request.
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       init(objRef)
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       mapInit(objRef)
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       selectFeature(objRef, featureName)
	 
	  
	           
	 Listener function which will actually issue the request.
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setAoiParameters(objRef)
	 
	  
	           
	 
       | 
   
   
      
	 
	     void
	 
       | 
      
	 
	    
	       setClickPosition(e)
	 
	  
	           
	 Listener function which will actually issue the request.
       | 
   
 
 
   
   
   
   
   requestStylesheet
   Object requestStylesheet
   
   
   
    
WebServiceRequest
WebServiceRequest(toolNode, model)
   A controller issuing OGC web service requests.  The request is generated
 by applying a stylesheet to a Layer/FeatureType/Coverage node from a 
 capabilities document as a listener function.  The listener event name is 
 a combination of the service type and the request name (e.g. wfs_GetFeature)
 and the parameter passed to the listener is the featureName (Layer/FeatureType/Coverage).
 The response from the request is stored in the targetModel.  If the 
 targetModel is a template model (attribute template="true") the a new model 
 is created and appended to the parentModel's  list.
   
   Parameters:
   
     toolNode -  The tools's XML object node from the configuration document.  
     
   
     model -     The model that this tool belongs to
     
   
   
   
   
   createHttpPayload
   Object createHttpPayload(feature)
   
      Function which create the HTTP payload for a request
   
   
   
   
   Parameters:
   
     feature -  the feature object
      
 
   
   
   
   
   
   
   
   
   
   doRequest
   void doRequest(objRef, featureName)
   
      Listener function which will actually issue the request.  This method
 will prepare the HTTP payload for a particular featureName.
   
   
   
   
   Parameters:
   
     requestName -  the name of the web service operation to execute  
      
 
   
     featureNodeId -  the id of the node in the doc to be processed by the stylesheet    
      
 
   
   
   
   
   
   
   
   
   
   init
   void init(objRef)
   
   
   
   
   
   
   
   
   
   mapInit
   void mapInit(objRef)
   
   
   
   
   
   
   
   
   
   selectFeature
   void selectFeature(objRef, featureName)
   
      Listener function which will actually issue the request.  This method
 will prepare the HTTP payload for a particular featureName.
   
   
   
   
   Parameters:
   
     requestName -  the name of the web service operation to execute  
      
 
   
     featureNodeId -  the id of the node in the doc to be processed by the stylesheet    
      
 
   
   
   
   
   
   
   
   
   
   setAoiParameters
   void setAoiParameters(objRef)
   
   
   
   
   
   
   
   
   
   setClickPosition
   void setClickPosition(e)
   
      Listener function which will actually issue the request.  This method
 will prepare the HTTP payload for a particular featureName.
   
   
   
   
   
   
   
   
   
   
Documentation generated by 
JSDoc on Tue Aug 21 08:12:28 2007