|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.expr.UnaryExpression
net.sf.saxon.expr.NumericPromoter
net.sf.saxon.expr.PromoteToFloat
public class PromoteToFloat
Expression that performs numeric promotion to xs:double
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.expr.UnaryExpression |
|---|
operand |
| Fields inherited from class net.sf.saxon.expr.Expression |
|---|
EVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, PUSH_SELECTION, staticProperties, WATCH_METHOD |
| Constructor Summary | |
|---|---|
PromoteToFloat(Expression exp)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class net.sf.saxon.expr.NumericPromoter |
|---|
evaluateItem, explain, iterate, optimize, simplify, typeCheck |
| Methods inherited from class net.sf.saxon.expr.UnaryExpression |
|---|
computeCardinality, computeSpecialProperties, displayOperator, equals, getBaseExpression, hashCode, iterateSubExpressions, promote, replaceSubExpression, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PromoteToFloat(Expression exp)
| Method Detail |
|---|
public ItemType getItemType(TypeHierarchy th)
getItemType in class UnaryExpressionth - the type hierarchy cache
public Expression copy()
copy in class Expression
protected AtomicValue promote(AtomicValue value,
ConversionRules rules)
throws XPathException
promote in class NumericPromotervalue - the numeric or untyped atomic value to be promotedrules -
XPathException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||