public class Sub extends AbstractBinaryExpression
The abstract class of <Sub> elements.
Sub is a simple binary operation representing subtraction, i.e., subtracting variable 2 from variable 1. It involves two child Filter elements.
name, subExpression| Constructor and Description |
|---|
Sub()
The default constructor.
|
Sub(Filter firstFilter, Filter lastFilter)
Constructs an object of
Sub according to two child Filter elements. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(AbstractFilterVisitor visitor) |
FilterType |
getFilterType()
Gets the Filter element type.
|
getExpression1, getExpression2copy, getName, getSubExpression, getSubExpressionCount, setSubExpressionpublic void accept(AbstractFilterVisitor visitor) throws OGCException
accept in class AbstractBinaryExpressionOGCExceptionpublic FilterType getFilterType()
AbstractBinaryExpressionGets the Filter element type.
getFilterType in class AbstractBinaryExpression