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 - if (for example) the parser input is not well-formedCopyright (c) 2004-2017 Saxonica Limited. All rights reserved.