com.icl.saxon.expr
class BooleanExpression extends BinaryExpression
| Constructor Summary | |
|---|---|
| BooleanExpression() | |
| BooleanExpression(Expression p1, int operator, Expression p2) | |
| Method Summary | |
|---|---|
| Value | evaluate(Context c) |
| boolean | evaluateAsBoolean(Context c) |
| int | getDataType()
Determine the data type of the expression |
| Expression | reduce(int dependencies, Context context)
Perform a partial evaluation of the expression, by eliminating specified dependencies
on the context. |
| Expression | simplify() |
Returns: Value.BOOLEAN
Parameters: dependencies The dependencies to be removed context The context to be used for the partial evaluation
Returns: a new expression that does not have any of the specified dependencies