|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.IntegerRangeTest
public class IntegerRangeTest
An IntegerRangeTest is an expression of the form E = N to M where E, N, and M are all expressions of type integer.
| Field Summary | |
|---|---|
(package private) Expression |
max
|
(package private) Expression |
min
|
(package private) Expression |
value
|
| Fields inherited from class net.sf.saxon.expr.ComputedExpression |
|---|
lineNumber, NO_ARGUMENTS, staticProperties |
| Constructor Summary | |
|---|---|
IntegerRangeTest(Expression value,
Expression min,
Expression max)
Construct a IntegerRangeTest |
|
| Method Summary | |
|---|---|
Expression |
analyze(StaticContext env)
Type-check the expression |
int |
computeCardinality()
Determine the static cardinality |
void |
display(int level,
NamePool pool)
Display this instruction as an expression, for diagnostics |
Item |
evaluateItem(XPathContext c)
Evaluate the expression |
ItemType |
getItemType()
Get the data type of the items returned |
| Methods inherited from class net.sf.saxon.expr.ComputedExpression |
|---|
computeDependencies, computeSpecialProperties, computeStaticProperties, dynamicError, effectiveBooleanValue, evaluateAsString, getCardinality, getDependencies, getIntrinsicDependencies, getLineNumber, getSpecialProperties, getSubExpressions, iterate, markTailFunctionCalls, promote, setLineNumber, simplify, typeError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Expression value
Expression min
Expression max
| Constructor Detail |
|---|
public IntegerRangeTest(Expression value,
Expression min,
Expression max)
| Method Detail |
|---|
public Expression analyze(StaticContext env)
throws XPathException
env - the static context of the expression
XPathException - if an error is discovered during this phase
(typically a type error)public ItemType getItemType()
public int computeCardinality()
computeCardinality in class ComputedExpression
public Item evaluateItem(XPathContext c)
throws XPathException
evaluateItem in interface ExpressionevaluateItem in class ComputedExpressionc - The context in which the expression is to be evaluated
XPathException - if any dynamic error occurs evaluating the
expression
public void display(int level,
NamePool pool)
level - indentation level for this expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||