1 |
3032
|
perry
|
/*
|
2 |
|
|
License: LGPL as per: http://www.gnu.org/copyleft/lesser.html
|
3 |
|
|
$Id$
|
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 GIS Consortium
|
11 |
|
|
* http://opengis.org (WFS).
|
12 |
|
|
* Extends ModelBase, which extends Listener.
|
13 |
|
|
*
|
14 |
|
|
* Listeners implemented:
|
15 |
|
|
*
|
16 |
|
|
* @constructor
|
17 |
|
|
* @author Mike Adair
|
18 |
|
|
* @param modelNode Pointer to the xml node for this model from the config file.
|
19 |
|
|
* @param parent The parent model for the object.
|
20 |
|
|
*/
|
21 |
|
|
function Transaction(modelNode, parent) {
|
22 |
|
|
// Inherit the ModelBase functions and parameters
|
23 |
|
|
ModelBase.apply(this, new Array(modelNode, parent));
|
24 |
|
|
this.namespace = "xmlns:gml='http://www.opengis.net/gml' xmlns:wfs='http://www.opengis.net/wfs'";
|
25 |
|
|
|
26 |
|
|
}
|