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, BigIntegerValue, BinaryExpression, Block, BooleanExpression, BooleanFn, BooleanValue, BreakInstr, CalendarValue, CallTemplate, CardinalityChecker, CastableExpression, CastExpression, Choose, Closure, CodepointEqual, CodepointsToString, CollatingFunction, Collection, Comment, Compare, CompareToIntegerConstant, CompileTimeFunction, Component, ComputedAttribute, ComputedElement, Concat, ConditionalSorter, Contains, ContextItemExpression, ContinueInstr, Copy, CopyOf, Current, CurrentDateTime, CurrentGroup, CurrentItemExpression, Data, DateTimeConstructor, DateTimeValue, DateValue, DayTimeDurationValue, DecimalValue, DeepEqual, DefaultCollation, DistinctValues, Doc, DocAvailable, Doctype, Document, DocumentInstr, DocumentSorter, 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, InScopePrefixes, Insert, InstanceOfExpression, Instruction, Int64Value, IntegerRange, IntegerRangeTest, IntegerValue, IsLastExpression, IsWholeNumber, ItemAt, ItemChecker, IterateInstr, KeyFn, Lang, Last, LastItemExpression, 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, Put, QNameFn, QNameValue, QualifiedNameValue, QuantifiedExpression, QuerySimpleContentConstructor, RangeExpression, RegexGroup, Remove, Replace, ResolveQName, ResolveURI, ResultDocument, Reverse, Root, RootExpression, Rounding, SequenceExtent, Serialize, ShareableSequence, SimpleContentConstructor, SimpleExpression, SimpleNodeConstructor, SingleNodeExpression, SingletonAtomizer, SingletonClosure, SingletonComparison, SingletonNode, SlashExpression, SortExpression, 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

    Modifier and Type
    Method
    Description
    Return an iterator over the results of evaluating an expression
  • Method Details

    • 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