net.sf.saxon.pull

Class PullConsumer

public class PullConsumer extends Object

A PullConsumer consumes all the events supplied by a PullProvider, doing nothing with them. The class exists so that PullFilters on the pipeline can produce side-effects. For example, this class can be used to validate a document, where the side effects are error messages.
Constructor Summary
PullConsumer(PullProvider in)
Method Summary
voidconsume()
Consume the input

Constructor Detail

PullConsumer

public PullConsumer(PullProvider in)

Method Detail

consume

public void consume()
Consume the input

Throws: net.sf.saxon.trans.XPathException