Sha256: d1fd8f571c2792d49d28ae33aa5141fcf862399e06e1857d1a13901f665b12fc

Contents?: true

Size: 997 Bytes

Versions: 5

Compression:

Stored size: 997 Bytes

Contents

/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for 
 * full list of contributors). Published under the Clear BSD license.  
 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
 * full text of the license. */

/**
 * @requires OpenLayers/Format.js
 */

/**
 * Class: OpenLayers.Format.CSWGetRecords
 * Default version is 2.0.2.
 *
 * Returns:
 * {<OpenLayers.Format>} A CSWGetRecords format of the given version.
 */
OpenLayers.Format.CSWGetRecords = function(options) {
    options = OpenLayers.Util.applyDefaults(
        options, OpenLayers.Format.CSWGetRecords.DEFAULTS
    );
    var cls = OpenLayers.Format.CSWGetRecords["v"+options.version.replace(/\./g, "_")];
    if(!cls) {
        throw "Unsupported CSWGetRecords version: " + options.version;
    }
    return new cls(options);
};

/**
 * Constant: DEFAULTS
 * {Object} Default properties for the CSWGetRecords format.
 */
OpenLayers.Format.CSWGetRecords.DEFAULTS = {
    "version": "2.0.2"
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/lib/OpenLayers/Format/CSWGetRecords.js
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/lib/OpenLayers/Format/CSWGetRecords.js
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/lib/OpenLayers/Format/CSWGetRecords.js
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/lib/OpenLayers/Format/CSWGetRecords.js
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/lib/OpenLayers/Format/CSWGetRecords.js