public class PropertyIsGreaterThan extends AbstractBinaryExpression
<PropertyIsGreaterThan> 元素的抽象类。
二进制比较运算的一种,限定第 1 个表达式的值大于第 2 个表达式的值。
一个 PropertyIsGreaterThan 元素由 2 个 <expression> 子元素构成,分别表示第 1 个表达式和第 2 个表达式。
其中,<expression> 元素是 Filter 元素的组合表达式,在 OGC 中是一个抽象元素,并不实际存在,表示一些 Filter 元素的组合形成的表达式,可用于组合 <expression> 元素的 Filter 元素有:<Add>、<Sub>、<Mul>、<Div>、<PropertyName>、<Literal> 以及 <Function>。
name, subExpression| 构造器和说明 |
|---|
PropertyIsGreaterThan()
构造函数。
|
PropertyIsGreaterThan(Filter firstFilter, Filter secondFilter)
通过 2 个组合表达式构建
PropertyIsGreaterThan 对象 |
PropertyIsGreaterThan(java.lang.String[] argument)
通过属性字段的名称、值来构建
PropertyIsGreaterThan 对象。 |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
获取本 Filter 元素的类型。
|
getExpression1, getExpression2copy, getName, getSubExpression, getSubExpressionCount, setSubExpressionpublic PropertyIsGreaterThan(java.lang.String[] argument)
通过属性字段的名称、值来构建 PropertyIsGreaterThan 对象。
表示限定属性字段值大于指定值。
argument - 字符串数组。数组第1个元素表示属性字段的名称,用于构建 PropertyName 对象,第2个元素表示值,用于构建 Literal 对象。public PropertyIsGreaterThan(Filter firstFilter, Filter secondFilter)
通过 2 个组合表达式构建 PropertyIsGreaterThan 对象
firstFilter - 第 1 个组合表达式。secondFilter - 第 2 个组合表达式。public PropertyIsGreaterThan()
构造函数。
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept 在类中 AbstractBinaryExpressionOGCExceptionpublic FilterType getFilterType()
AbstractBinaryExpression获取本 Filter 元素的类型。
getFilterType 在类中 AbstractBinaryExpression