Skip navigation links

Package com.saxonica.xqj.pull

This package extends the pull API for Saxon that is provided in package net.sf.saxon.pull in Saxon-HE.

See: Description

Package com.saxonica.xqj.pull Description

This package extends the pull API for Saxon that is provided in package net.sf.saxon.pull in Saxon-HE. It provides features allowing walking of an existing Saxon tree and delivering events in the same way as a pull parser; it also allows queries and stylesheets to create lazily-constructed document and element nodes which can then be read using the pull interface.

The three main kinds of PullProvider supported in this package are:

The facility to evaluate the results of a query in pull mode using the PullProvider interface are largely superseded by the net.sf.saxon.evpull.EventIterator interface, which is directly or indirectly supported by all expressions.

Some examples of application code using the pull interface with Saxon are provided in the PullExamples.java file in the samples directory.

Michael H. Kay
Saxonica Limited
10 June 2009

Skip navigation links

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