java.io.Serializable, javax.xml.transform.SourceLocator, ExpressionNode, ExpressionOwner, XPathVisitablepublic class Number extends UnaryOperation
| Constructor | Description |
|---|---|
Number() |
| Modifier and Type | Method | 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.
|
asIterator, asIteratorRaw, asNode, assertion, bool, error, execute, execute, execute, executeCharsToContentHandler, exprAddChild, exprGetChild, exprGetNumChildren, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isNodesetExpr, isStableNumber, warn, xstrequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallVisitors, canTraverseOutsideSubtree, deepEquals, execute, fixupVariables, getExpression, getOperand, setExpression, setRightpublic XObject operate(XObject right) throws javax.xml.transform.TransformerException
operate in class UnaryOperationright - non-null reference to the evaluated right operand.javax.xml.transform.TransformerExceptionpublic double num(XPathContext xctxt) throws javax.xml.transform.TransformerException
num in class Expressionxctxt - The runtime execution context.javax.xml.transform.TransformerExceptionCopyright © 2014 Apache XML Project. All Rights Reserved.