public class Number extends UnaryOperation
m_right| Constructor and Description |
|---|
Number() |
| Modifier and Type | Method and Description |
|---|---|
double |
num(XPathContext xctxt)
Evaluate expression to a number.
|
XObject |
operate(XObject right)
Apply the operation to two operands, and return the result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, setRightasIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumberpublic XObject operate(XObject right) throws TransformerException
operate in class UnaryOperationright - 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. All rights reserved.