Package net.sf.saxon.expr.elab
package net.sf.saxon.expr.elab
-
ClassDescriptionAbstract superclass for elaborators whose primary evaluation method is to return a single boolean.Interface implemented by expressions that return a boolean result.Elaborator for element construction expressions (both fixed and computed).A SequenceEvaluator that evaluates an expression eagerly, in pull mode.A SequenceEvaluator that evaluates an expression eagerly, in push mode.This class is at the heart of the mechanism for elaborating expressions.The FallbackElaborator performs elaboration of expressions for which no more specific elaborator is available.Evaluator for a variable that needs to be indexed, because the optimizer has identified that it will contain a sequence that is accessed using predicates based on the content Note, indexing is only used in Saxon-EE; the implementation in Saxon-HE is a dummy.An
ItemElaborator
is an abstract superclass for use by expressions that deliver zero or one items as their result.Interface implemented by classes that evaluate an expression to deliver a single itemSequenceEvaluator that evaluates an expression lazily in pull mode; that is, it delivers aLazySequence
which defers actual evaluation until the value is actually needed.ALearningEvaluator
initially performs lazy incremental evaluation of an expression; but if this proves unproductive, it switches after a while to eager evaluation.ASequenceEvaluator
for literals.AMemoClosureEvaluator
is aSequenceEvaluator
that evaluates an expression lazily and incrementally; it evaluates new items in the result as and when they are needed.A SequenceEvaluator for expressions that return a sequence of zero or one items.APingable
represents an object that can receive an event with no associated information.Abstract implementation ofElaborator
for expressions that primarily evaluate in pull mode, that is, by returning aSequenceIterator
over the result.Interface implemented by evaluators that evaluate an expression in "pull" mode, that is, by delivering aSequenceIterator
over the results.Abstract superclass for elaborators whose primary evaluation method is in push mode.Evaluator for expressions that are evaluated in "shared append" mode.Abstract elaborator for expressions that evaluate simple nodes (text nodes, comments, attributes, etc) in push mode.ASequenceEvaluator
for expressions that return a single item (exactly one, never an empty sequence).Elaborator for the first argument of a streamable stylesheet functionAn abstract Elaborator for expressions that evaluate their result as a single string (that is, as an instance ofUnicodeString
); they may also return null to indicate that the result is an empty sequence.A StringEvaluator is a function that typically encapsulates the logic for evaluating an expression that returns a string.A StringEvaluator is a function that typically encapsulates the logic for evaluating an expression that returns a string, in the form of aUnicodeString
Abstract evaluator for XQuery Update expressions.Interface implemented by XQuery Update expressions, to evaluate an update expression by adding update primitives to a supplied pending update list.