Merge pull request #7220 from fredj/abstract_filters

Mark ol.format.filter.Spatial as abstract class
This commit is contained in:
Frédéric Junod
2017-09-15 08:26:29 +02:00
committed by GitHub
6 changed files with 17 additions and 0 deletions
+3
View File
@@ -7,7 +7,10 @@ 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
* @param {...ol.format.filter.Filter} conditions Conditions. * @param {...ol.format.filter.Filter} conditions Conditions.
* @extends {ol.format.filter.LogicalNary} * @extends {ol.format.filter.LogicalNary}
* @api * @api
+3
View File
@@ -9,7 +9,10 @@ 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
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
* @param {!string} propertyName Name of the context property to compare. * @param {!string} propertyName Name of the context property to compare.
* @extends {ol.format.filter.Filter} * @extends {ol.format.filter.Filter}
+3
View File
@@ -9,7 +9,10 @@ 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
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
* @param {!string} propertyName Name of the context property to compare. * @param {!string} propertyName Name of the context property to compare.
* @param {!(string|number)} expression The value to compare. * @param {!(string|number)} expression The value to compare.
+3
View File
@@ -6,7 +6,10 @@ 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
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
* @struct * @struct
* @api * @api
+1
View File
@@ -11,6 +11,7 @@ goog.require('ol.format.filter.Filter');
* Base class for WFS GetFeature n-ary logical filters. * Base class for WFS GetFeature n-ary logical filters.
* *
* @constructor * @constructor
* @abstract
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
* @param {...ol.format.filter.Filter} conditions Conditions. * @param {...ol.format.filter.Filter} conditions Conditions.
* @extends {ol.format.filter.Filter} * @extends {ol.format.filter.Filter}
+4
View File
@@ -6,10 +6,14 @@ goog.require('ol.format.filter.Filter');
/** /**
* @classdesc * @classdesc
* Abstract class; normally only used for creating subclasses and not instantiated in apps.
* 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
* @param {!string} tagName The XML tag name for this filter. * @param {!string} tagName The XML tag name for this filter.
* @param {!string} geometryName Geometry name to use. * @param {!string} geometryName Geometry name to use.
* @param {!ol.geom.Geometry} geometry Geometry. * @param {!ol.geom.Geometry} geometry Geometry.