Remove ol.format.filter.Logical
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
goog.provide('ol.format.filter.Logical');
|
||||
|
||||
goog.require('ol');
|
||||
goog.require('ol.format.filter.Filter');
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Abstract class; normally only used for creating subclasses and not instantiated in apps.
|
||||
* Base class for WFS GetFeature logical filters.
|
||||
*
|
||||
* @constructor
|
||||
* @param {!string} tagName The XML tag name for this filter.
|
||||
* @extends {ol.format.filter.Filter}
|
||||
*/
|
||||
ol.format.filter.Logical = function(tagName) {
|
||||
ol.format.filter.Filter.call(this, tagName);
|
||||
};
|
||||
ol.inherits(ol.format.filter.Logical, ol.format.filter.Filter);
|
||||
@@ -1,7 +1,7 @@
|
||||
goog.provide('ol.format.filter.LogicalNary');
|
||||
|
||||
goog.require('ol');
|
||||
goog.require('ol.format.filter.Logical');
|
||||
goog.require('ol.format.filter.Filter');
|
||||
|
||||
|
||||
/**
|
||||
@@ -12,11 +12,11 @@ goog.require('ol.format.filter.Logical');
|
||||
* @constructor
|
||||
* @param {!string} tagName The XML tag name for this filter.
|
||||
* @param {...ol.format.filter.Filter} conditions Conditions.
|
||||
* @extends {ol.format.filter.Logical}
|
||||
* @extends {ol.format.filter.Filter}
|
||||
*/
|
||||
ol.format.filter.LogicalNary = function(tagName, conditions) {
|
||||
|
||||
ol.format.filter.Logical.call(this, tagName);
|
||||
ol.format.filter.Filter.call(this, tagName);
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -25,4 +25,4 @@ ol.format.filter.LogicalNary = function(tagName, conditions) {
|
||||
this.conditions = Array.prototype.slice.call(arguments, 1);
|
||||
ol.asserts.assert(this.conditions.length >= 2, 57); // At least 2 conditions are required.
|
||||
};
|
||||
ol.inherits(ol.format.filter.LogicalNary, ol.format.filter.Logical);
|
||||
ol.inherits(ol.format.filter.LogicalNary, ol.format.filter.Filter);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
goog.provide('ol.format.filter.Not');
|
||||
|
||||
goog.require('ol');
|
||||
goog.require('ol.format.filter.Logical');
|
||||
goog.require('ol.format.filter.Filter');
|
||||
|
||||
|
||||
/**
|
||||
@@ -10,12 +10,12 @@ goog.require('ol.format.filter.Logical');
|
||||
*
|
||||
* @constructor
|
||||
* @param {!ol.format.filter.Filter} condition Filter condition.
|
||||
* @extends {ol.format.filter.Logical}
|
||||
* @extends {ol.format.filter.Filter}
|
||||
* @api
|
||||
*/
|
||||
ol.format.filter.Not = function(condition) {
|
||||
|
||||
ol.format.filter.Logical.call(this, 'Not');
|
||||
ol.format.filter.Filter.call(this, 'Not');
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -23,4 +23,4 @@ ol.format.filter.Not = function(condition) {
|
||||
*/
|
||||
this.condition = condition;
|
||||
};
|
||||
ol.inherits(ol.format.filter.Not, ol.format.filter.Logical);
|
||||
ol.inherits(ol.format.filter.Not, ol.format.filter.Filter);
|
||||
|
||||
Reference in New Issue
Block a user