java.io.Serializable
, javax.xml.transform.SourceLocator
, ExpressionNode
, ExpressionOwner
, XPathVisitable
public class Mult extends Operation
Constructor | Description |
---|---|
Mult() |
Modifier and Type | Method | Description |
---|---|---|
double |
num(XPathContext xctxt) |
Evaluate this operation directly to a double.
|
XObject |
operate(XObject left,
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, xstr
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, fixupVariables, getExpression, getLeftOperand, getRightOperand, setExpression, setLeftRight
public XObject operate(XObject left, XObject right) throws javax.xml.transform.TransformerException
operate
in class Operation
left
- non-null reference to the evaluated left operand.right
- non-null reference to the evaluated right operand.javax.xml.transform.TransformerException
public double num(XPathContext xctxt) throws javax.xml.transform.TransformerException
num
in class Expression
xctxt
- The runtime execution context.javax.xml.transform.TransformerException
Copyright © 2014 Apache XML Project. All Rights Reserved.