Skip navigation links


This package contains classes used to support streaming.

See: Description

Package Description

This package contains classes used to support streaming. For many kinds of expression that support streaming, there is a Feedclass in this package that evaluates the expression in composed push mode, one item at a time.

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

These classes generally implement the interface, whose main methods are open(), append(item), and close(). These methods are called to supply the sequence of items representing the streamed operand of the expression. The feed class can either deliver the result incrementally during calls of the append(item) method, or it can deliver the entire result during the close() method. (It is the responsibility of the class, however, to minimize the amount of data that it buffers).

The Feed class for evaluating an expression is created by calling the FeedMaker, which in turn is returned by the streaming adjunct class for the particular kind of expression.

Skip navigation links

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