net.sf.saxon.pull
Class PullConsumer
java.lang.Object
net.sf.saxon.pull.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.
Method Summary |
void |
consume()
Consume the input |
PullConsumer
public PullConsumer(PullProvider in)
consume
public void consume()
throws XPathException
- Consume the input
- Throws:
XPathException
Copyright (C) Michael H. Kay. All rights reserved.