public class Number extends UnaryOperation
m_right
Constructor and Description |
---|
Number() |
Modifier and Type | Method and Description |
---|---|
double |
num(XPathContext xctxt)
Evaluate this operation directly to a double.
|
XObject |
operate(XObject right)
Apply the operation to two operands, and return the result.
|
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, fixupVariables, getExpression, getOperand, setExpression, setRight
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isSameClass, isStableNumber, warn, xstr
public XObject operate(XObject right) throws TransformerException
operate
in class UnaryOperation
right
- non-null reference to the evaluated right operand.TransformerException
public double num(XPathContext xctxt) throws TransformerException
num
in class Expression
xctxt
- The runtime execution context.TransformerException
Copyright © 2016 JBoss by Red Hat. All rights reserved.