public class Plus extends Operation
| Constructor and Description |
|---|
Plus() |
| Modifier and Type | Method and Description |
|---|---|
double |
num(XPathContext xctxt)
Evaluate expression to a number.
|
XObject |
operate(XObject left,
XObject right)
Apply the operation to two operands, and return the result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, setLeftRightasIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumberpublic XObject operate(XObject left, XObject right) throws TransformerException
operate in class Operationleft - non-null reference to the evaluated left operand.right - non-null reference to the evaluated right operand.TransformerException - in case of errorpublic double num(XPathContext xctxt) throws TransformerException
num in class Expressionxctxt - The XPath runtime context.TransformerException - if anyCopyright © 2022–2023. All rights reserved.