public class PullConsumer extends Object
Constructor and Description |
---|
PullConsumer(PullProvider in)
Create a PullConsumer that swallows the events read from a given pull provider
|
public PullConsumer(PullProvider in)
in
- the PullProvider from which events are to be read and swallowed uppublic void consume() throws XPathException
XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.