Skip navigation links

Package com.saxonica.ee.stream.adjunct

This package contains classes used to support streaming.

See: Description

Package com.saxonica.ee.stream.adjunct Description

This package contains classes used to support streaming. For every kind of expression that can appear in the expression tree, there is an auxiliary or adjunct class that contains the code needed to support streaming (if any).

None of these classes will be used directly by typical user applications.

The interface to these adjunct classes is defined in the abstract class StreamingAdjunct. The main methods are getWatchMaker() and getFeedMaker() which return a factory for respectively a Watch and a Feed; a Watch is used to evaluate the expression in decomposed push mode, an event at a time, while a Feed is used to evaluate it in composed push mode, an item at a time.

The association between an expression class and its corresponding adjunct is made by the method getStreamingAdjunct() in the Expression class, which is compiled out by the source preprocessor for all builds except Saxon-EE.

Skip navigation links

Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.