[OpenLayers-Commits] r7517 - sandbox/topp/trimet/lib/OpenLayers/Protocol

commits at openlayers.org commits at openlayers.org
Tue Jul 15 18:03:26 EDT 2008


Author: tschaub
Date: 2008-07-15 18:03:26 -0400 (Tue, 15 Jul 2008)
New Revision: 7517

Modified:
   sandbox/topp/trimet/lib/OpenLayers/Protocol/WFS.js
Log:
Docs and requirements for WFS protocol.

Modified: sandbox/topp/trimet/lib/OpenLayers/Protocol/WFS.js
===================================================================
--- sandbox/topp/trimet/lib/OpenLayers/Protocol/WFS.js	2008-07-15 22:01:50 UTC (rev 7516)
+++ sandbox/topp/trimet/lib/OpenLayers/Protocol/WFS.js	2008-07-15 22:03:26 UTC (rev 7517)
@@ -1,7 +1,14 @@
 /**
- * Namespace: OpenLayers.Protocol.WFS
- * A namespace for versioned WFS protocols.
+ * @requires OpenLayers/Protocol.js
  */
+
+/**
+ * Function: OpenLayers.Protocol.WFS
+ * Used to create a versioned WFS protocol.  Default version is 1.0.0.
+ *
+ * Returns:
+ * {<OpenLayers.Protocol>} A WFS protocol of the given version.
+ */
 OpenLayers.Protocol.WFS = function(options) {
     options = OpenLayers.Util.applyDefaults(
         options, OpenLayers.Protocol.WFS.DEFAULTS
@@ -13,6 +20,9 @@
     return new cls(options);
 }
 
+/**
+ * Constant: OpenLayers.Protocol.WFS.DEFAULTS
+ */
 OpenLayers.Protocol.WFS.DEFAULTS = {
     "version": "1.0.0"
 };



More information about the Commits mailing list