public class XMLDatatypeMathUtil extends Object
| Constructor and Description |
|---|
XMLDatatypeMathUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Literal |
compute(Literal leftLit,
Literal rightLit,
MathExpr.MathOp op)
Computes the result of applying the supplied math operator on the supplied left and right operand.
|
public static Literal compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op) throws ValueExprEvaluationException
leftLit - a datatype literalrightLit - a datatype literalop - a mathematical operator, as definied by MathExpr.MathOp.ValueExprEvaluationExceptionCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.