public class PropertyIsLessThanOrEqualTo extends AbstractBinaryExpression
The abstract class of <PropertyIsLessThanOrEqualTo> elements.
It's a binary comparison operation confining that the value of the first expression is less than or equal to that of the second expression.
A PropertyIsLessThanOrEqualTo element consists of two <expression> child elements, representing the first and the second expression.
Where, the <expression> element is a composite expression of Filter elements. It is an abstract element in OGC and does not actually exist. It represents an expression with a combination of some Filter elements. The Filter elements that can be combined in a <expression> element include: <Add>, <Sub>, <Mul>, <Div>, <PropertyName>, <Literal> , and <Function>.
name, subExpression| Constructor and Description |
|---|
PropertyIsLessThanOrEqualTo()
The constructor.
|
PropertyIsLessThanOrEqualTo(Filter firstFilter, Filter secondFilter)
Constructs an object of
PropertyIsLessThanOrEqualTo by using two composite expressions. |
PropertyIsLessThanOrEqualTo(java.lang.String[] argument)
Constructs a
PropertyIsLessThanOrEqualTo object by using the name and the value of the property field. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
Gets the Filter element type.
|
getExpression1, getExpression2copy, getName, getSubExpression, getSubExpressionCount, setSubExpressionpublic PropertyIsLessThanOrEqualTo(java.lang.String[] argument)
Constructs a PropertyIsLessThanOrEqualTo object by using the name and the value of the property field.
Represents the condition that the property value is less than or equal to a specified value.
argument - An array of strings. The first element of the array represents the name of the property field, used to construct a PropertyName object. The second element represents the value, used to construct a Literal object.public PropertyIsLessThanOrEqualTo(Filter firstFilter, Filter secondFilter)
Constructs an object of PropertyIsLessThanOrEqualTo by using two composite expressions.
Represents the condition that the value of the first expression is less than or equal to that of the second expression.
firstFilter - The first composite expression.secondFilter - The second composite expression.public PropertyIsLessThanOrEqualTo()
The constructor.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept in class AbstractBinaryExpressionOGCExceptionpublic FilterType getFilterType()
AbstractBinaryExpressionGets the Filter element type.
getFilterType in class AbstractBinaryExpression