|
|||||||||
| 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.SequenceValue
net.sf.saxon.value.SequenceIntent
public class 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.
| Constructor Summary | |
|---|---|
SequenceIntent(SequenceIterator iterator)
Construct a SequenceIntent by supplying an iterator. |
|
| Method Summary | |
|---|---|
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.SequenceValue |
|---|
conversionPreference, convertToJava, display, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, nodeToJavaPreference |
| Methods inherited from class net.sf.saxon.value.Value |
|---|
analyze, asItem, asValue, collapseWhitespace, getDependencies, getSpecialProperties, getSubExpressions, inverse, normalizeWhitespace, promote, simplify, stringToInteger, stringToNumber, trimWhitespace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 ItemType getItemType()
getItemType in interface ExpressiongetItemType in class SequenceValue
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 SequenceValueXPathException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||