|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.pull.PullConsumer
public class PullConsumer
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)
Create a PullConsumer that swallows the events read from a given pull provider |
Method Summary | |
---|---|
void |
consume()
Consume the input |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PullConsumer(PullProvider in)
in
- the PullProvider from which events are to be read and swallowed upMethod Detail |
---|
public void consume() throws XPathException
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |