net.sf.saxon.expr
Interface SequenceIterable

All Superinterfaces:
Serializable
All Known Implementing Classes:
Adjust, Aggregate, AnalyzeString, AnyURIValue, ApplyImports, ApplyTemplates, ArithmeticExpression, ArithmeticExpression10, Assign, Assignation, AtomicMappingExpression, AtomicSequenceConverter, AtomicValue, Atomizer, AttributeCreator, Available, AxisExpression, Base64BinaryValue, BaseURI, BasicUpdatingExpression, BigIntegerValue, BinaryExpression, Block, BooleanExpression, BooleanFn, BooleanValue, BreakInstr, CalendarValue, CallTemplate, CardinalityChecker, CastableExpression, CastExpression, Choose, Closure, CodepointEqual, CodepointsToString, CollatingFunction, Collection, Comment, Compare, CompareToIntegerConstant, CompiledClosure, CompiledMemoClosure, CompileTimeFunction, Component, ComputedAttribute, ComputedElement, Concat, ConditionalSorter, Contains, ContextCall, ContextItemExpression, ContinueInstr, Copy, CopyModifyExpression, CopyOf, Current, CurrentDateTime, CurrentGroup, CurrentItemExpression, Data, DateTimeConstructor, DateTimeValue, DateValue, DayTimeDurationValue, DecimalValue, DeepEqual, DefaultCollation, DeleteExpression, DistinctValues, Doc, DocAvailable, Doctype, Document, DocumentInstr, DocumentSorter, DoubleValue, DurationValue, EagerLetExpression, ElementCreator, EmptySequence, EndsWith, Error, ErrorExpression, EscapeURI, Existence, Expression, FilterExpression, FirstItemExpression, FixedAttribute, FixedElement, FloatValue, ForceCase, ForEach, ForEachGroup, ForExpression, FormatDate, FormatNumber, FunctionArity, FunctionCall, FunctionItemExpression, FunctionName, FunctionSequenceCoercer, GDateValue, GDayValue, GeneralComparison, GeneralComparison10, GeneralComparisonEE, GeneralVariable, GlobalParam, GlobalVariable, GMonthDayValue, GMonthValue, GYearMonthValue, GYearValue, HexBinaryValue, Id, IdentityComparison, Idref, IndexedFilterExpression, IndexedLookupExpression, IndexedValue, IndexOf, InScopePrefixes, Insert, InsertExpression, InstanceOfExpression, Instruction, Int64Value, IntegerRange, IntegerRangeTest, IntegerValue, IntegratedFunctionCall, IsLastExpression, ItemChecker, ItemClosure, IterateInstr, JavaExtensionFunctionCall, KeyFn, Lang, Last, LastItemExpression, LazyExpression, LetExpression, Literal, LocalParam, LocalVariable, LocalVariableReference, Matches, MemoClosure, Message, Minimax, NamePart, NamespaceConstructor, NamespaceForPrefix, NegateExpression, NextMatch, Nilled, NormalizeSpace, NormalizeUnicode, NotationValue, NumberFn, NumberInstruction, NumericPromoter, NumericValue, ObjectValue, OuterForExpression, ParentNodeConstructor, ParentNodeExpression, PartialApply, PathExpression, PatternMatchExpression, PatternSponsor, Position, ProcessingInstruction, PromoteToDouble, PromoteToFloat, Put, QNameFn, QNameValue, QualifiedNameValue, QuantifiedExpression, QuerySimpleContentConstructor, RangeExpression, RegexGroup, Remove, RenameExpression, Replace, ReplaceNodeExpression, ReplaceValueExpression, ResolveQName, ResolveURI, ResultDocument, Reverse, Root, RootExpression, Rounding, SequenceExtent, ShareableSequence, SimpleContentConstructor, SimpleExpression, SimpleNodeConstructor, SingleNodeExpression, SingletonAtomizer, SingletonClosure, SingletonComparison, SingletonItem, SlashExpression, SortExpression, StartsWith, StaticBaseURI, StreamingApplyTemplates, StreamingCopy, StringFn, StringJoin, StringLength, StringLiteral, StringToCodepoints, StringValue, Subsequence, Substring, SubstringAfter, SubstringBefore, SuppliedParameterReference, SwitchExpression, SystemFunction, SystemProperty, Tail, TailCallLoop, TailExpression, TimeValue, Tokenize, Trace, TraceExpression, TraceInstruction, TraceWrapper, Translate, TreatFn, TryCatch, 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 Detail

iterate

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
Throws:
XPathException


Copyright (c) Saxonica Limited. All rights reserved.