net.sf.saxon.expr

Interface SequenceIterable

All Superinterfaces:
Serializable
Known Implementing Classes:
Adjust, Aggregate, AnalyzeString, AnyURIValue, ApplyImports, ApplyTemplates, ArithmeticExpression, ArithmeticExpression10, Assign, Assignation, AtomicSequenceConverter, AtomicValue, Atomizer, Available, AxisExpression, Base64BinaryValue, BaseURI, BigIntegerValue, BinaryExpression, Block, BooleanExpression, BooleanFn, BooleanValue, CalendarValue, CallTemplate, CardinalityChecker, CastableExpression, CastExpression, Choose, Closure, CodepointEqual, CodepointsToString, CollatingFunction, Collection, Comment, Compare, CompareToIntegerConstant, CompileTimeFunction, Component, ComputedAttribute, ComputedElement, Concat, ConditionalSorter, Contains, ContextItemExpression, Copy, CopyOf, Current, CurrentDateTime, CurrentGroup, CurrentItemExpression, Data, DateTimeConstructor, DateTimeValue, DateValue, DayTimeDurationValue, DecimalValue, DeepEqual, DefaultCollation, DistinctValues, Doc, DocAvailable, Doctype, Document, DocumentInstr, DocumentSorter, DotNetExtensionFunctionCall, DotNetObjectValue, DoubleValue, DurationValue, EagerLetExpression, ElementCreator, EmptySequence, Error, ErrorExpression, EscapeURI, Evaluate, Existence, Expression, ExtensionFunctionCall, FilterExpression, FirstItemExpression, FixedAttribute, FixedElement, FloatValue, ForceCase, ForEach, ForEachGroup, ForExpression, FormatDate, FormatNumber, FunctionCall, GDateValue, GDayValue, GeneralComparison, GeneralComparison10, GeneralVariable, GlobalParam, GlobalVariable, GMonthDayValue, GMonthValue, GYearMonthValue, GYearValue, HexBinaryValue, Id, IdentityComparison, Idref, IndexOf, Insert, InstanceOfExpression, Instruction, InScopePrefixes, Int64Value, IntegerRange, IntegerRangeTest, IntegerValue, IsLastExpression, IsWholeNumber, ItemAt, ItemChecker, KeyFn, Lang, Last, LazyExpression, LetExpression, Literal, LocalParam, LocalVariable, LocalVariableReference, Matches, MemoClosure, Message, Minimax, NamePart, Namespace, NamespaceForPrefix, NegateExpression, NextMatch, Nilled, NormalizeSpace, NormalizeUnicode, NotationValue, NumberFn, NumberInstruction, NumericPromoter, NumericValue, ObjectValue, ParentNodeConstructor, ParentNodeExpression, Parse, PathExpression, PatternMatchExpression, PatternSponsor, Position, ProcessingInstruction, QNameFn, QNameValue, QualifiedNameValue, QuantifiedExpression, QuerySimpleContentConstructor, RangeExpression, RegexGroup, Remove, Replace, ResolveQName, ResolveURI, ResultDocument, Reverse, Root, RootExpression, Rounding, SequenceExtent, Serialize, ShareableSequence, SimpleContentConstructor, SimpleExpression, SimpleMappingExpression, SimpleNodeConstructor, SingleNodeExpression, SingletonAtomizer, SingletonClosure, SingletonComparison, SingletonNode, SortExpression, SQLColumn.ColumnInstruction, StaticBaseURI, StringFn, StringJoin, StringLength, StringLiteral, StringToCodepoints, StringValue, Subsequence, Substring, SuppliedParameterReference, SystemFunction, SystemProperty, TailCallLoop, TailExpression, TimeValue, Tokenize, Trace, TraceExpression, TraceInstruction, TraceWrapper, Translate, TreatFn, TupleExpression, TupleSorter, UnaryExpression, Unordered, UnparsedEntity, UnparsedText, UntypedAtomicConverter, UntypedAtomicValue, UseAttributeSets, UserFunctionCall, Value, ValueComparison, ValueOf, VariableReference, VennExpression, While, WithParam, XPathFunctionCall, YearMonthDurationValue

public interface SequenceIterable
extends Serializable

This interface is a simple subset of the Expression interface, that provides a single method to evaluate the result of an expression as a sequence

Method Summary

SequenceIterator
iterate(XPathContext context)
Return an iterator over the results of evaluating an expression

Method Details

iterate

public SequenceIterator iterate(XPathContext context)
            throws XPathException
Return an iterator over the results of evaluating an expression
Parameters:
context - the dynamic evaluation context
Returns:
an iterator over the items delivered by the expression