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

View File

@@ -7,7 +7,10 @@ goog.require('ol.format.filter.LogicalNary');
* @classdesc
* 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
* @abstract
* @param {...ol.format.filter.Filter} conditions Conditions.
* @extends {ol.format.filter.LogicalNary}
* @api

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.
* Base class for WFS GetFeature property comparison filters.
*
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor
* @abstract
* @param {!string} tagName The XML tag name for this filter.
* @param {!string} propertyName Name of the context property to compare.
* @extends {ol.format.filter.Filter}

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.
* Base class for WFS GetFeature property binary comparison filters.
*
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor
* @abstract
* @param {!string} tagName The XML tag name for this filter.
* @param {!string} propertyName Name of the context property to compare.
* @param {!(string|number)} expression The value to compare.

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.
* Base class for WFS GetFeature filters.
*
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor
* @abstract
* @param {!string} tagName The XML tag name for this filter.
* @struct
* @api

View File

@@ -11,6 +11,7 @@ goog.require('ol.format.filter.Filter');
* Base class for WFS GetFeature n-ary logical filters.
*
* @constructor
* @abstract
* @param {!string} tagName The XML tag name for this filter.
* @param {...ol.format.filter.Filter} conditions Conditions.
* @extends {ol.format.filter.Filter}

View File

@@ -6,10 +6,14 @@ goog.require('ol.format.filter.Filter');
/**
* @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
* relates to a given geometry.
*
* deprecated: This class will no longer be exported starting from the next major version.
*
* @constructor
* @abstract
* @param {!string} tagName The XML tag name for this filter.
* @param {!string} geometryName Geometry name to use.
* @param {!ol.geom.Geometry} geometry Geometry.