|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.saxon.value.Value
net.sf.saxon.value.SequenceIntent
A SequenceIntent is sequence value that uses deferred evaluation. It can be used as a value, but it is actually a wrapper around an iterator and a context, so the items in the sequence are not evaluated until they are required.
| Field Summary |
| Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
| Constructor Summary | |
SequenceIntent(SequenceIterator iterator)
Construct a SequenceIntent by supplying an iterator. |
|
| Method Summary | |
int |
getImplementationMethod()
An implementation of Expression must provide at least one of the methods evaluateItem(), iterate(), or process(). |
ItemType |
getItemType()
Get the item type |
Item |
itemAt(int n)
Get the n'th item in the sequence (starting from 0). |
SequenceIterator |
iterate(XPathContext context)
Evaluate the expression in a given context to return a sequence |
| Methods inherited from class net.sf.saxon.value.Value |
analyze, asItem, asValue, checkPermittedContents, collapseWhitespace, convert, convertJavaObjectToXPath, convertToJava, display, effectiveBooleanValue, equals, evaluateAsString, evaluateItem, getCardinality, getDependencies, getIterator, getLength, getParentExpression, getSpecialProperties, getStringValue, hashCode, iterateSubExpressions, makeQNameValue, normalizeWhitespace, process, promote, simplify, stringToNumber, toString, trimWhitespace |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SequenceIntent(SequenceIterator iterator)
iterator - the iterator that delivers the items in the sequence. It must deliver
them in the correct order, with no duplicates.| Method Detail |
public int getImplementationMethod()
public ItemType getItemType()
getItemType in interface ExpressiongetItemType in class Value
public SequenceIterator iterate(XPathContext context)
throws XPathException
context - the evaluation context.
XPathException - if any dynamic error occurs evaluating the
expression
public Item itemAt(int n)
throws XPathException
itemAt in class ValueXPathException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||