Add a deprecated warning in abstract filter classes

This commit is contained in:
Frederic Junod
2017-09-13 16:31:08 +02:00
parent 6ed414e8f7
commit f0fd866eaf
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -7,6 +7,8 @@ goog.require('ol.format.filter.LogicalNary');
* @classdesc * @classdesc
* Represents a logical `<And>` operator between two or more filter conditions. * Represents a logical `<And>` operator between two or more filter conditions.
* *
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor * @constructor
* @abstract * @abstract
* @param {...ol.format.filter.Filter} conditions Conditions. * @param {...ol.format.filter.Filter} conditions Conditions.
+2
View File
@@ -9,6 +9,8 @@ goog.require('ol.format.filter.Filter');
* Abstract class; normally only used for creating subclasses and not instantiated in apps. * Abstract class; normally only used for creating subclasses and not instantiated in apps.
* Base class for WFS GetFeature property comparison filters. * Base class for WFS GetFeature property comparison filters.
* *
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor * @constructor
* @abstract * @abstract
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
+2
View File
@@ -9,6 +9,8 @@ goog.require('ol.format.filter.Comparison');
* Abstract class; normally only used for creating subclasses and not instantiated in apps. * Abstract class; normally only used for creating subclasses and not instantiated in apps.
* Base class for WFS GetFeature property binary comparison filters. * Base class for WFS GetFeature property binary comparison filters.
* *
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor * @constructor
* @abstract * @abstract
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
+2
View File
@@ -6,6 +6,8 @@ goog.provide('ol.format.filter.Filter');
* Abstract class; normally only used for creating subclasses and not instantiated in apps. * Abstract class; normally only used for creating subclasses and not instantiated in apps.
* Base class for WFS GetFeature filters. * Base class for WFS GetFeature filters.
* *
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor * @constructor
* @abstract * @abstract
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
+2
View File
@@ -10,6 +10,8 @@ goog.require('ol.format.filter.Filter');
* Represents a spatial operator to test whether a geometry-valued property * Represents a spatial operator to test whether a geometry-valued property
* relates to a given geometry. * relates to a given geometry.
* *
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor * @constructor
* @abstract * @abstract
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.