public static class ArithmeticExpression.DurationMultiplication extends ArithmeticExpression
ArithmeticExpression.DateAndDuration, ArithmeticExpression.DateDifference, ArithmeticExpression.DurationAddition, ArithmeticExpression.DurationDivision, ArithmeticExpression.DurationMultiplication, ArithmeticExpression.NumericArithmetic
operand0, operand1, operator
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
Constructor and Description |
---|
ArithmeticExpression.DurationMultiplication(Expression p1,
int operator,
Expression p2,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
static Item |
doArithmetic(Expression operand0,
int operator,
Expression operand1,
XPathContext context) |
Item |
evaluateItem(XPathContext context)
Evaluate the expression.
|
getItemType, typeCheck
computeCardinality, computeSpecialProperties, display, displayOperator, equals, getOperands, getOperator, hashCode, isAssociative, isCommutative, isInverse, iterateSubExpressions, optimize, promote, replaceSubExpression, simplify
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, iterate, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, setParentExpression, suppressValidation, typeError
public ArithmeticExpression.DurationMultiplication(Expression p1, int operator, Expression p2, Configuration config)
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
in interface Expression
evaluateItem
in class ArithmeticExpression
context
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic static Item doArithmetic(Expression operand0, int operator, Expression operand1, XPathContext context) throws XPathException
XPathException