public class Add extends AbstractBinaryExpression
The abstract class of <Add> elements.
Add is a simple binary operation representing addition, i.e., adding variable 1 to variable 2. It involves two child Filter elements.
name, subExpression| Constructor and Description |
|---|
Add()
The default constructor.
|
Add(Filter firstFilter, Filter secondFilter)
Constructs an object of
Add 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()
Gets the Filter element type.
getFilterType in class AbstractBinaryExpression