public class PullConsumer
extends java.lang.Object
Constructor and Description |
---|
PullConsumer(PullProvider in)
Create a PullConsumer that swallows the events read from a given pull provider
|
Modifier and Type | Method and Description |
---|---|
void |
consume()
Consume the input
|
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-2018 Saxonica Limited. All rights reserved.