|
|||||||||
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, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties |
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,
XPathContext context)
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, displayExpressionName, 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 UnaryExpression
th
- the type hierarchy cache
public Expression copy()
copy
in class Expression
protected AtomicValue promote(AtomicValue value, XPathContext context) throws XPathException
promote
in class NumericPromoter
value
- the numeric or untyped atomic value to be promotedcontext
- the XPath dynamic evaluation context
XPathException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |