public class SequenceCopier
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
copySequence(SequenceIterator<?> in,
Receiver out)
Copy a sequence, supplied as a SequenceIterator, to a push pipeline, represented by
a SequenceReceiver
|
public static void copySequence(SequenceIterator<?> in, Receiver out) throws XPathException
in
- an iterator over the input sequenceout
- a Receiver to receive the output sequence. The method will open this receiver at the
start and close it on completion.XPathException
- if a failure occurs reading the input or writing the outputCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.