Project

General

Profile

1
/*
2
License: LGPL as per: http://www.gnu.org/copyleft/lesser.html
3
$Id: Transaction.js 3657 2007-11-29 09:04:26Z gjvoosten $
4
*/
5

    
6
// Ensure this object's dependancies are loaded.
7
mapbuilder.loadScript(baseDir+"/model/ModelBase.js");
8

    
9
/**
10
 * Stores a WFS Transaction reponse as defined by the Open Geospatial Consortium
11
 * (http://www.opengeospatial.org/) (WFS).  
12
 * Extends ModelBase, which extends Listener.
13
 *
14
 * Listeners implemented:
15
 *
16
 * @constructor
17
 * @base ModelBase
18
 * @author Mike Adair
19
 * @param modelNode Pointer to the xml node for this model from the config file.
20
 * @param parent    The parent model for the object.
21
 */
22
function Transaction(modelNode, parent) {
23
  // Inherit the ModelBase functions and parameters
24
  ModelBase.apply(this, new Array(modelNode, parent));
25
  this.namespace = "xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs'";
26

    
27
}
28

    
(15-15/19)