ol
Version:
OpenLayers mapping library
29 lines (25 loc) • 631 B
JavaScript
/**
* @module ol/format/filter/Comparison
*/
import Filter from './Filter.js';
/**
* @classdesc
* Abstract class; normally only used for creating subclasses and not instantiated in apps.
* Base class for WFS GetFeature property comparison filters.
*
* @abstract
*/
class Comparison extends Filter {
/**
* @param {!string} tagName The XML tag name for this filter.
* @param {!string} propertyName Name of the context property to compare.
*/
constructor(tagName, propertyName) {
super(tagName);
/**
* @type {!string}
*/
this.propertyName = propertyName;
}
}
export default Comparison;