1 /*global $k*/ 2 3 /** 4 * @class Represents the value range of a geo position attribute 5 * @extends $k.ValueRange 6 **/ 7 $k.GeoRange = function() { }; 8 9 /** 10 * Returns the names of the supported formats 11 * 12 * @function 13 * @returns {string[]} 14 **/ 15 $k.GeoRange.prototype.formats = function() { }; 16 17 /** 18 * Parse the geo position in the specified format and returns the converted value 19 * 20 * @function 21 * @param {string} string The string represantation of the geo position 22 * @param {string} format The name of a supported format 23 * @throws {$k.exception.InvalidValue} If the string is not in the range of allowed values of the attribute, or if the format is not supported 24 * @returns {$k.GeoPosition} The converted value 25 **/ 26 $k.GeoRange.prototype.parseFormat = function(string, format) { }; 27 28