public class Div extends AbstractBinaryExpression
The abstract class of <Div> elements.
Div is a simple binary operation used to perform the division operation, i.e., dividing variable 1 by variable 2.
A Div element consists of 2 child Filter elements. The first Filter element is divided by the second Filter element.
name, subExpression| Constructor and Description |
|---|
Div()
The constructor.
|
Div(Filter firstFilter, Filter secondFilter)
Constructs an object of
Div 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