Module type for ol.format.filter.*
This commit is contained in:
@@ -44,7 +44,7 @@ import {createElementNS, isDocument, isNode, makeArrayPusher, makeChildAppender,
|
||||
* WFS 2.0 feature backported to WFS 1.1.0 by some Web Feature Services. Please note that some
|
||||
* Web Feature Services have repurposed `maxfeatures` instead.
|
||||
* @property {module:ol/extent~Extent} [bbox] Extent to use for the BBOX filter.
|
||||
* @property {ol.format.filter.Filter} [filter] Filter condition. See
|
||||
* @property {module:ol/format/filter/Filter~Filter} [filter] Filter condition. See
|
||||
* {@link ol.format.filter} for more information.
|
||||
* @property {string} [resultType] Indicates what response should be returned,
|
||||
* E.g. `hits` only includes the `numberOfFeatures` attribute in the response and no features.
|
||||
@@ -680,7 +680,7 @@ function writeQuery(node, featureType, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.Filter} filter Filter.
|
||||
* @param {module:ol/format/filter/Filter~Filter} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeFilterCondition(node, filter, objectStack) {
|
||||
@@ -695,7 +695,7 @@ function writeFilterCondition(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.Bbox} filter Filter.
|
||||
* @param {module:ol/format/filter/Bbox~Bbox} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeBboxFilter(node, filter, objectStack) {
|
||||
@@ -709,7 +709,7 @@ function writeBboxFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.Contains} filter Filter.
|
||||
* @param {module:ol/format/filter/Contains~Contains} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeContainsFilter(node, filter, objectStack) {
|
||||
@@ -723,7 +723,7 @@ function writeContainsFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.Intersects} filter Filter.
|
||||
* @param {module:ol/format/filter/Intersects~Intersects} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeIntersectsFilter(node, filter, objectStack) {
|
||||
@@ -737,7 +737,7 @@ function writeIntersectsFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.Within} filter Filter.
|
||||
* @param {module:ol/format/filter/Within~Within} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeWithinFilter(node, filter, objectStack) {
|
||||
@@ -751,7 +751,7 @@ function writeWithinFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.During} filter Filter.
|
||||
* @param {module:ol/format/filter/During~During} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeDuringFilter(node, filter, objectStack) {
|
||||
@@ -776,7 +776,7 @@ function writeDuringFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.LogicalNary} filter Filter.
|
||||
* @param {module:ol/format/filter/LogicalNary~LogicalNary} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeLogicalFilter(node, filter, objectStack) {
|
||||
@@ -795,7 +795,7 @@ function writeLogicalFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.Not} filter Filter.
|
||||
* @param {module:ol/format/filter/Not~Not} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeNotFilter(node, filter, objectStack) {
|
||||
@@ -811,7 +811,7 @@ function writeNotFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.ComparisonBinary} filter Filter.
|
||||
* @param {module:ol/format/filter/ComparisonBinary~ComparisonBinary} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeComparisonFilter(node, filter, objectStack) {
|
||||
@@ -825,7 +825,7 @@ function writeComparisonFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.IsNull} filter Filter.
|
||||
* @param {module:ol/format/filter/IsNull~IsNull} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeIsNullFilter(node, filter, objectStack) {
|
||||
@@ -835,7 +835,7 @@ function writeIsNullFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.IsBetween} filter Filter.
|
||||
* @param {module:ol/format/filter/IsBetween~IsBetween} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeIsBetweenFilter(node, filter, objectStack) {
|
||||
@@ -853,7 +853,7 @@ function writeIsBetweenFilter(node, filter, objectStack) {
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {ol.format.filter.IsLike} filter Filter.
|
||||
* @param {module:ol/format/filter/IsLike~IsLike} filter Filter.
|
||||
* @param {Array.<*>} objectStack Node stack.
|
||||
*/
|
||||
function writeIsLikeFilter(node, filter, objectStack) {
|
||||
@@ -915,7 +915,7 @@ function writeTimeInstant(node, time) {
|
||||
/**
|
||||
* Encode filter as WFS `Filter` and return the Node.
|
||||
*
|
||||
* @param {ol.format.filter.Filter} filter Filter.
|
||||
* @param {module:ol/format/filter/Filter~Filter} filter Filter.
|
||||
* @return {Node} Result.
|
||||
* @api
|
||||
*/
|
||||
|
||||
@@ -23,8 +23,8 @@ import Within from '../format/filter/Within.js';
|
||||
/**
|
||||
* Create a logical `<And>` operator between two or more filter conditions.
|
||||
*
|
||||
* @param {...ol.format.filter.Filter} conditions Filter conditions.
|
||||
* @returns {!ol.format.filter.And} `<And>` operator.
|
||||
* @param {...module:ol/format/filter/Filter~Filter} conditions Filter conditions.
|
||||
* @returns {!module:ol/format/filter/And~And} `<And>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function and(conditions) {
|
||||
@@ -36,8 +36,8 @@ export function and(conditions) {
|
||||
/**
|
||||
* Create a logical `<Or>` operator between two or more filter conditions.
|
||||
*
|
||||
* @param {...ol.format.filter.Filter} conditions Filter conditions.
|
||||
* @returns {!ol.format.filter.Or} `<Or>` operator.
|
||||
* @param {...module:ol/format/filter/Filter~Filter} conditions Filter conditions.
|
||||
* @returns {!module:ol/format/filter/Or~Or} `<Or>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function or(conditions) {
|
||||
@@ -49,8 +49,8 @@ export function or(conditions) {
|
||||
/**
|
||||
* Represents a logical `<Not>` operator for a filter condition.
|
||||
*
|
||||
* @param {!ol.format.filter.Filter} condition Filter condition.
|
||||
* @returns {!ol.format.filter.Not} `<Not>` operator.
|
||||
* @param {!module:ol/format/filter/Filter~Filter} condition Filter condition.
|
||||
* @returns {!module:ol/format/filter/Not~Not} `<Not>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function not(condition) {
|
||||
@@ -66,7 +66,7 @@ export function not(condition) {
|
||||
* @param {!module:ol/extent~Extent} extent Extent.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @returns {!ol.format.filter.Bbox} `<BBOX>` operator.
|
||||
* @returns {!module:ol/format/filter/Bbox~Bbox} `<BBOX>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function bbox(geometryName, extent, opt_srsName) {
|
||||
@@ -81,7 +81,7 @@ export function bbox(geometryName, extent, opt_srsName) {
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @returns {!ol.format.filter.Contains} `<Contains>` operator.
|
||||
* @returns {!module:ol/format/filter/Contains~Contains} `<Contains>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function contains(geometryName, geometry, opt_srsName) {
|
||||
@@ -96,7 +96,7 @@ export function contains(geometryName, geometry, opt_srsName) {
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @returns {!ol.format.filter.Intersects} `<Intersects>` operator.
|
||||
* @returns {!module:ol/format/filter/Intersects~Intersects} `<Intersects>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function intersects(geometryName, geometry, opt_srsName) {
|
||||
@@ -111,7 +111,7 @@ export function intersects(geometryName, geometry, opt_srsName) {
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @returns {!ol.format.filter.Within} `<Within>` operator.
|
||||
* @returns {!module:ol/format/filter/Within~Within} `<Within>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function within(geometryName, geometry, opt_srsName) {
|
||||
@@ -125,7 +125,7 @@ export function within(geometryName, geometry, opt_srsName) {
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!(string|number)} expression The value to compare.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @returns {!ol.format.filter.EqualTo} `<PropertyIsEqualTo>` operator.
|
||||
* @returns {!module:ol/format/filter/EqualTo~EqualTo} `<PropertyIsEqualTo>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function equalTo(propertyName, expression, opt_matchCase) {
|
||||
@@ -139,7 +139,7 @@ export function equalTo(propertyName, expression, opt_matchCase) {
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!(string|number)} expression The value to compare.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @returns {!ol.format.filter.NotEqualTo} `<PropertyIsNotEqualTo>` operator.
|
||||
* @returns {!module:ol/format/filter/NotEqualTo~NotEqualTo} `<PropertyIsNotEqualTo>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function notEqualTo(propertyName, expression, opt_matchCase) {
|
||||
@@ -152,7 +152,7 @@ export function notEqualTo(propertyName, expression, opt_matchCase) {
|
||||
*
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @returns {!ol.format.filter.LessThan} `<PropertyIsLessThan>` operator.
|
||||
* @returns {!module:ol/format/filter/LessThan~LessThan} `<PropertyIsLessThan>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function lessThan(propertyName, expression) {
|
||||
@@ -165,7 +165,7 @@ export function lessThan(propertyName, expression) {
|
||||
*
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @returns {!ol.format.filter.LessThanOrEqualTo} `<PropertyIsLessThanOrEqualTo>` operator.
|
||||
* @returns {!module:ol/format/filter/LessThanOrEqualTo~LessThanOrEqualTo} `<PropertyIsLessThanOrEqualTo>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function lessThanOrEqualTo(propertyName, expression) {
|
||||
@@ -178,7 +178,7 @@ export function lessThanOrEqualTo(propertyName, expression) {
|
||||
*
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @returns {!ol.format.filter.GreaterThan} `<PropertyIsGreaterThan>` operator.
|
||||
* @returns {!module:ol/format/filter/GreaterThan~GreaterThan} `<PropertyIsGreaterThan>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function greaterThan(propertyName, expression) {
|
||||
@@ -191,7 +191,7 @@ export function greaterThan(propertyName, expression) {
|
||||
*
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @returns {!ol.format.filter.GreaterThanOrEqualTo} `<PropertyIsGreaterThanOrEqualTo>` operator.
|
||||
* @returns {!module:ol/format/filter/GreaterThanOrEqualTo~GreaterThanOrEqualTo} `<PropertyIsGreaterThanOrEqualTo>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function greaterThanOrEqualTo(propertyName, expression) {
|
||||
@@ -204,7 +204,7 @@ export function greaterThanOrEqualTo(propertyName, expression) {
|
||||
* is null.
|
||||
*
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @returns {!ol.format.filter.IsNull} `<PropertyIsNull>` operator.
|
||||
* @returns {!module:ol/format/filter/IsNull~IsNull} `<PropertyIsNull>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function isNull(propertyName) {
|
||||
@@ -219,7 +219,7 @@ export function isNull(propertyName) {
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} lowerBoundary The lower bound of the range.
|
||||
* @param {!number} upperBoundary The upper bound of the range.
|
||||
* @returns {!ol.format.filter.IsBetween} `<PropertyIsBetween>` operator.
|
||||
* @returns {!module:ol/format/filter/IsBetween~IsBetween} `<PropertyIsBetween>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function between(propertyName, lowerBoundary, upperBoundary) {
|
||||
@@ -240,7 +240,7 @@ export function between(propertyName, lowerBoundary, upperBoundary) {
|
||||
* @param {string=} opt_escapeChar Escape character which can be used to escape
|
||||
* the pattern characters. Default is '!'.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @returns {!ol.format.filter.IsLike} `<PropertyIsLike>` operator.
|
||||
* @returns {!module:ol/format/filter/IsLike~IsLike} `<PropertyIsLike>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function like(propertyName, pattern,
|
||||
@@ -256,7 +256,7 @@ export function like(propertyName, pattern,
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!string} begin The begin date in ISO-8601 format.
|
||||
* @param {!string} end The end date in ISO-8601 format.
|
||||
* @returns {!ol.format.filter.During} `<During>` operator.
|
||||
* @returns {!module:ol/format/filter/During~During} `<During>` operator.
|
||||
* @api
|
||||
*/
|
||||
export function during(propertyName, begin, end) {
|
||||
|
||||
@@ -10,8 +10,8 @@ import LogicalNary from '../filter/LogicalNary.js';
|
||||
*
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @param {...ol.format.filter.Filter} conditions Conditions.
|
||||
* @extends {ol.format.filter.LogicalNary}
|
||||
* @param {...module:ol/format/filter/Filter~Filter} conditions Conditions.
|
||||
* @extends {module:ol/format/filter/LogicalNary~LogicalNary}
|
||||
*/
|
||||
const And = function(conditions) {
|
||||
const params = ['And'].concat(Array.prototype.slice.call(arguments));
|
||||
|
||||
@@ -14,7 +14,7 @@ import Filter from '../filter/Filter.js';
|
||||
* @param {!module:ol/extent~Extent} extent Extent.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @extends {ol.format.filter.Filter}
|
||||
* @extends {module:ol/format/filter/Filter~Filter}
|
||||
* @api
|
||||
*/
|
||||
const Bbox = function(geometryName, extent, opt_srsName) {
|
||||
|
||||
@@ -13,7 +13,7 @@ import Filter from '../filter/Filter.js';
|
||||
* @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}
|
||||
* @extends {module:ol/format/filter/Filter~Filter}
|
||||
*/
|
||||
const Comparison = function(tagName, propertyName) {
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import Comparison from '../filter/Comparison.js';
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!(string|number)} expression The value to compare.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @extends {ol.format.filter.Comparison}
|
||||
* @extends {module:ol/format/filter/Comparison~Comparison}
|
||||
*/
|
||||
const ComparisonBinary = function(tagName, propertyName, expression, opt_matchCase) {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import Spatial from '../filter/Spatial.js';
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @extends {ol.format.filter.Spatial}
|
||||
* @extends {module:ol/format/filter/Spatial~Spatial}
|
||||
* @api
|
||||
*/
|
||||
const Contains = function(geometryName, geometry, opt_srsName) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import Comparison from '../filter/Comparison.js';
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!string} begin The begin date in ISO-8601 format.
|
||||
* @param {!string} end The end date in ISO-8601 format.
|
||||
* @extends {ol.format.filter.Comparison}
|
||||
* @extends {module:ol/format/filter/Comparison~Comparison}
|
||||
* @api
|
||||
*/
|
||||
const During = function(propertyName, begin, end) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import ComparisonBinary from '../filter/ComparisonBinary.js';
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!(string|number)} expression The value to compare.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @extends {ol.format.filter.ComparisonBinary}
|
||||
* @extends {module:ol/format/filter/ComparisonBinary~ComparisonBinary}
|
||||
* @api
|
||||
*/
|
||||
const EqualTo = function(propertyName, expression, opt_matchCase) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import ComparisonBinary from '../filter/ComparisonBinary.js';
|
||||
* @constructor
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @extends {ol.format.filter.ComparisonBinary}
|
||||
* @extends {module:ol/format/filter/ComparisonBinary~ComparisonBinary}
|
||||
* @api
|
||||
*/
|
||||
const GreaterThan = function(propertyName, expression) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import ComparisonBinary from '../filter/ComparisonBinary.js';
|
||||
* @constructor
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @extends {ol.format.filter.ComparisonBinary}
|
||||
* @extends {module:ol/format/filter/ComparisonBinary~ComparisonBinary}
|
||||
* @api
|
||||
*/
|
||||
const GreaterThanOrEqualTo = function(propertyName, expression) {
|
||||
|
||||
@@ -14,7 +14,7 @@ import Spatial from '../filter/Spatial.js';
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @extends {ol.format.filter.Spatial}
|
||||
* @extends {module:ol/format/filter/Spatial~Spatial}
|
||||
* @api
|
||||
*/
|
||||
const Intersects = function(geometryName, geometry, opt_srsName) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import Comparison from '../filter/Comparison.js';
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} lowerBoundary The lower bound of the range.
|
||||
* @param {!number} upperBoundary The upper bound of the range.
|
||||
* @extends {ol.format.filter.Comparison}
|
||||
* @extends {module:ol/format/filter/Comparison~Comparison}
|
||||
* @api
|
||||
*/
|
||||
const IsBetween = function(propertyName, lowerBoundary, upperBoundary) {
|
||||
|
||||
@@ -18,7 +18,7 @@ import Comparison from '../filter/Comparison.js';
|
||||
* @param {string=} opt_escapeChar Escape character which can be used to escape
|
||||
* the pattern characters. Default is '!'.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @extends {ol.format.filter.Comparison}
|
||||
* @extends {module:ol/format/filter/Comparison~Comparison}
|
||||
* @api
|
||||
*/
|
||||
const IsLike = function(propertyName, pattern, opt_wildCard, opt_singleChar, opt_escapeChar, opt_matchCase) {
|
||||
|
||||
@@ -10,7 +10,7 @@ import Comparison from '../filter/Comparison.js';
|
||||
*
|
||||
* @constructor
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @extends {ol.format.filter.Comparison}
|
||||
* @extends {module:ol/format/filter/Comparison~Comparison}
|
||||
* @api
|
||||
*/
|
||||
const IsNull = function(propertyName) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import ComparisonBinary from '../filter/ComparisonBinary.js';
|
||||
* @constructor
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @extends {ol.format.filter.ComparisonBinary}
|
||||
* @extends {module:ol/format/filter/ComparisonBinary~ComparisonBinary}
|
||||
* @api
|
||||
*/
|
||||
const LessThan = function(propertyName, expression) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import ComparisonBinary from '../filter/ComparisonBinary.js';
|
||||
* @constructor
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!number} expression The value to compare.
|
||||
* @extends {ol.format.filter.ComparisonBinary}
|
||||
* @extends {module:ol/format/filter/ComparisonBinary~ComparisonBinary}
|
||||
* @api
|
||||
*/
|
||||
const LessThanOrEqualTo = function(propertyName, expression) {
|
||||
|
||||
@@ -13,15 +13,15 @@ import Filter from '../filter/Filter.js';
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @param {!string} tagName The XML tag name for this filter.
|
||||
* @param {...ol.format.filter.Filter} conditions Conditions.
|
||||
* @extends {ol.format.filter.Filter}
|
||||
* @param {...module:ol/format/filter/Filter~Filter} conditions Conditions.
|
||||
* @extends {module:ol/format/filter/Filter~Filter}
|
||||
*/
|
||||
const LogicalNary = function(tagName, conditions) {
|
||||
|
||||
Filter.call(this, tagName);
|
||||
|
||||
/**
|
||||
* @type {Array.<ol.format.filter.Filter>}
|
||||
* @type {Array.<module:ol/format/filter/Filter~Filter>}
|
||||
*/
|
||||
this.conditions = Array.prototype.slice.call(arguments, 1);
|
||||
assert(this.conditions.length >= 2, 57); // At least 2 conditions are required.
|
||||
|
||||
@@ -9,8 +9,8 @@ import Filter from '../filter/Filter.js';
|
||||
* Represents a logical `<Not>` operator for a filter condition.
|
||||
*
|
||||
* @constructor
|
||||
* @param {!ol.format.filter.Filter} condition Filter condition.
|
||||
* @extends {ol.format.filter.Filter}
|
||||
* @param {!module:ol/format/filter/Filter~Filter} condition Filter condition.
|
||||
* @extends {module:ol/format/filter/Filter~Filter}
|
||||
* @api
|
||||
*/
|
||||
const Not = function(condition) {
|
||||
@@ -18,7 +18,7 @@ const Not = function(condition) {
|
||||
Filter.call(this, 'Not');
|
||||
|
||||
/**
|
||||
* @type {!ol.format.filter.Filter}
|
||||
* @type {!module:ol/format/filter/Filter~Filter}
|
||||
*/
|
||||
this.condition = condition;
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ import ComparisonBinary from '../filter/ComparisonBinary.js';
|
||||
* @param {!string} propertyName Name of the context property to compare.
|
||||
* @param {!(string|number)} expression The value to compare.
|
||||
* @param {boolean=} opt_matchCase Case-sensitive?
|
||||
* @extends {ol.format.filter.ComparisonBinary}
|
||||
* @extends {module:ol/format/filter/ComparisonBinary~ComparisonBinary}
|
||||
* @api
|
||||
*/
|
||||
const NotEqualTo = function(propertyName, expression, opt_matchCase) {
|
||||
|
||||
@@ -9,8 +9,8 @@ import LogicalNary from '../filter/LogicalNary.js';
|
||||
* Represents a logical `<Or>` operator between two ore more filter conditions.
|
||||
*
|
||||
* @constructor
|
||||
* @param {...ol.format.filter.Filter} conditions Conditions.
|
||||
* @extends {ol.format.filter.LogicalNary}
|
||||
* @param {...module:ol/format/filter/Filter~Filter} conditions Conditions.
|
||||
* @extends {module:ol/format/filter/LogicalNary~LogicalNary}
|
||||
* @api
|
||||
*/
|
||||
const Or = function(conditions) {
|
||||
|
||||
@@ -17,7 +17,7 @@ import Filter from '../filter/Filter.js';
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @extends {ol.format.filter.Filter}
|
||||
* @extends {module:ol/format/filter/Filter~Filter}
|
||||
*/
|
||||
const Spatial = function(tagName, geometryName, geometry, opt_srsName) {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import Spatial from '../filter/Spatial.js';
|
||||
* @param {!module:ol/geom/Geometry~Geometry} geometry Geometry.
|
||||
* @param {string=} opt_srsName SRS name. No srsName attribute will be
|
||||
* set on geometries when this is not provided.
|
||||
* @extends {ol.format.filter.Spatial}
|
||||
* @extends {module:ol/format/filter/Spatial~Spatial}
|
||||
* @api
|
||||
*/
|
||||
const Within = function(geometryName, geometry, opt_srsName) {
|
||||
|
||||
Reference in New Issue
Block a user