Package com.saxonica.stream

This package and its subpackages contains classes used to support streaming and document projection.

See: Description

Package com.saxonica.stream Description

This package and its subpackages contains 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; for example a CopyOfWatch builds a subtree representing an element and passes this to a feed that expects a stream of element nodes, while a CountWatch counts the nodes and passes an integer to the next expression in the pipeline; a TypedValueWatch atomizes nodes and feeds the resulting atomic values to the next stage.

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 WatchManager.

Michael H. Kay
Saxonica Limited
30 July 2010

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