net.sf.saxon.expr
Class ArithmeticExpression.DurationMultiplication
java.lang.Object
net.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.BinaryExpression
net.sf.saxon.expr.ArithmeticExpression
net.sf.saxon.expr.ArithmeticExpression.DurationMultiplication
- All Implemented Interfaces:
- Serializable, Expression
- Enclosing class:
- ArithmeticExpression
public static class ArithmeticExpression.DurationMultiplication
- extends ArithmeticExpression
Inner class to handle multiplication (or division) of a duration by a number
- See Also:
- Serialized Form
Methods inherited from class net.sf.saxon.expr.ComputedExpression |
computeDependencies, computeSpecialProperties, computeStaticProperties, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getDependencies, getIntrinsicDependencies, getLineNumber, getSpecialProperties, iterate, markTailFunctionCalls, setLineNumber, typeError |
ArithmeticExpression.DurationMultiplication
public ArithmeticExpression.DurationMultiplication(Expression p1,
int operator,
Expression p2)
evaluateItem
public Item evaluateItem(XPathContext context)
throws XPathException
- Evaluate the expression.
- Specified by:
evaluateItem
in interface Expression
- Overrides:
evaluateItem
in class ArithmeticExpression
- Parameters:
context
- The context in which the expression is to be evaluated
- Returns:
- the node or atomic value that results from evaluating the
expression; or null to indicate that the result is an empty
sequence
- Throws:
XPathException
- if any dynamic error occurs evaluating the
expression