Add @api stable annotations for GML format

This commit is contained in:
Éric Lemoine
2014-08-26 10:38:14 +02:00
parent 26df575bfe
commit 1f9ab58623
2 changed files with 10 additions and 10 deletions

View File

@@ -1448,7 +1448,7 @@ olx.format.GMLOptions;
/**
* Feature namespace.
* @type {string}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.featureNS;
@@ -1456,7 +1456,7 @@ olx.format.GMLOptions.prototype.featureNS;
/**
* Feature type to parse.
* @type {string}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.featureType;
@@ -1473,7 +1473,7 @@ olx.format.GMLOptions.prototype.srsName;
* Write gml:Surface instead of gml:Polygon elements. This also affects the
* elements in multi-part geometries. Default is `false`.
* @type {boolean|undefined}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.surface;
@@ -1482,7 +1482,7 @@ olx.format.GMLOptions.prototype.surface;
* Write gml:Curve instead of gml:LineString elements. This also affects the
* elements in multi-part geometries. Default is `false`.
* @type {boolean|undefined}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.curve;
@@ -1491,7 +1491,7 @@ olx.format.GMLOptions.prototype.curve;
* Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is
* deprecated in GML 3, the default is `true`.
* @type {boolean|undefined}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.multiCurve;
@@ -1500,7 +1500,7 @@ olx.format.GMLOptions.prototype.multiCurve;
* Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is
* deprecated in GML 3, the default is `true`.
* @type {boolean|undefined}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.multiSurface;
@@ -1509,7 +1509,7 @@ olx.format.GMLOptions.prototype.multiSurface;
* Optional schemaLocation to use when writing out the GML, this will override
* the default provided.
* @type {string|undefined}
* @api
* @api stable
*/
olx.format.GMLOptions.prototype.schemaLocation;

View File

@@ -36,7 +36,7 @@ goog.require('ol.xml');
* @param {olx.format.GMLOptions=} opt_options
* Optional configuration object.
* @extends {ol.format.XMLFeature}
* @api
* @api stable
*/
ol.format.GML = function(opt_options) {
var options = /** @type {olx.format.GMLOptions} */
@@ -1056,7 +1056,7 @@ ol.format.GML.prototype.readGeometryFromNode = function(node, opt_options) {
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
* @param {olx.format.ReadOptions=} opt_options Options.
* @return {Array.<ol.Feature>} Features.
* @api
* @api stable
*/
ol.format.GML.prototype.readFeatures;
@@ -1725,7 +1725,7 @@ ol.format.GML.prototype.writeGeometryNode = function(geometry, opt_options) {
* @param {Array.<ol.Feature>} features Features.
* @param {olx.format.WriteOptions=} opt_options Options.
* @return {Node} Result.
* @api
* @api stable
*/
ol.format.GML.prototype.writeFeatures;