public class Conduit extends Object
| Constructor and Description |
|---|
Conduit() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Interface allowing the consumer to indicate that no more items are required.
|
void |
finish()
Interface allowing the producer to indicate that there are no more items to come.
|
boolean |
isClosed()
Ask whether the conduit has been closed
|
Item |
read()
Interface allowing the consumer to read an Item.
|
void |
signalProducerError(XPathException exception)
Interface allowing the producer to indicate that a dynamic error has occurred.
|
void |
write(Item value)
Interface allowing the producer to write an item.
|
public Item read() throws XPathException
XPathException - if the producer signalled an exceptionpublic void close()
public boolean isClosed()
public void write(Item value)
value - The item to be writtenpublic void finish()
public void signalProducerError(XPathException exception)
exception - the error to be signalledCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.