net.sf.saxon.value
public class IntegerRange extends Value
Field Summary | |
---|---|
long | end |
long | start |
Constructor Summary | |
---|---|
IntegerRange(long start, long end) |
Method Summary | |
---|---|
void | display(int level, NamePool pool, PrintStream out)
Diagnostic display of the expression |
int | getCardinality()
Determine the cardinality |
long | getEnd() |
int | getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process().
|
ItemType | getItemType(TypeHierarchy th)
Determine the data type of the items in the expression, if possible
|
int | getLength()
Get the length of the sequence |
long | getStart() |
Item | itemAt(int n)
Get the n'th item in the sequence (starting from 0). |
SequenceIterator | iterate(XPathContext context)
Return an Iterator to iterate over the values of a sequence. |
Parameters: th
Returns: AnyItemType (not known)
Parameters: context supplies the context for evaluation
Returns: a SequenceIterator that can be used to iterate over the result of the expression
Throws: net.sf.saxon.trans.XPathException if any dynamic error occurs evaluating the expression