This package and its subpackages contain classes used to support streaming and document projection. In principle these facilities are applicable both to XSLT and XQuery; the streamed evaluation of XPath expressions is also used during schema validation, to process identity constraints.
None of these classes will be used directly by typical user applications.
This package contains classes that watch for events coming from the streamed document. Different kinds of watch are associated with different expressions and perform differing actions with these events.
The instantiation of watch classes, calling them to test whether they are interested in particular events,
and remembering when to de-activate them, is all handled by the
Interface Summary Interface Description PostureGetterThis interface defines a method used to get the context item posture. PushToPull.Pusher
Class Summary Class Description AccumulatorRegistryEEStatic registry containing the accumulators defined within a package; the Saxon-EE subclass includes support for streamed accumulators. ComponentInversionThis class represents the inversion of a template or function body ContentDetectorA ContentDetector is a filter that can be added to a Receiver pipeline to note whether the current element node has children. CurrentGroupPatternThis is a special pattern that matches the "anchor node". InversionThis class represents an expression that has been "inverted" (in the Jackson sense) so that its execution is push-driven, that is, driven by events from the streamed document. Inversion.PushActionA PushAction is a collection of data that together represents the strategy for how an expression should be evaluated in push mode. ManualGroupIteratorThe class ManualGroupIterator represents an iterator that is never repositioned, but can be used to represent the focus in the dynamic context. ManualRegexIteratorThe class ManualRegexIterator represents an iterator that is never repositioned, but can be used to represent the current regex groups in the dynamic context. PostureAndSweepThis class defines a composite property of an expression containing both the posture and sweep of the expression, as defined in the XSLT 3.0 specification. ProjectorThis class uses a
PathMapto do document projection.
PushToPullThis class evaluates an expression in push mode in one thread, and provides an iterator to read the results of the expression in pull mode in the original thread. StreamabilitySupporting class for assessing the streamability of expressions. StreamableUserFunctionRepresents a used-defined XSLT function whose declared streamability is other than "unclassified" StreamerMap StreamingPatternMakerFactory class to make a streaming pattern from an expression. StreamingSequenceWriterA SequenceWriter that can be used on a streaming pipeline to direct the output of an operation to the next expression in the pipeline StreamInstrImplementation of the xsl:source-document (streamable="yes") instruction
Enum Summary Enum Description PostureThe posture of an expression defines the relationship of the result to a streamed input document, as defined in the XSLT 3.0 specification. SweepThe posture of an expression defines the relationship of the result to a streamed input document, as defined in the XSLT 3.0 specification.