public class PromoteToDouble extends NumericPromoter
operand
EVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, PUSH_SELECTION, staticProperties, WATCH_METHOD
Constructor and Description |
---|
PromoteToDouble(Expression exp) |
Modifier and Type | Method and Description |
---|---|
Expression |
copy()
Copy an expression.
|
ItemType |
getItemType(TypeHierarchy th)
Determine the data type of the items returned by the expression, if possible
|
protected AtomicValue |
promote(AtomicValue value,
ConversionRules rules)
Perform the promotion
|
evaluateItem, explain, iterate, optimize, simplify, typeCheck
computeCardinality, computeSpecialProperties, displayOperator, equals, getBaseExpression, hashCode, iterateSubExpressions, promote, replaceSubExpression, toString
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExecutable, getExpressionName, getHostLanguage, getImplementationMethod, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, typeError
public PromoteToDouble(Expression exp)
public ItemType getItemType(TypeHierarchy th)
getItemType
in class UnaryExpression
th
- the type hierarchy cachepublic Expression copy()
copy
in class Expression
protected AtomicValue promote(AtomicValue value, ConversionRules rules) throws XPathException
promote
in class NumericPromoter
value
- the numeric or untyped atomic value to be promotedrules
- XPathException