Package net.sf.saxon.event
Class SequenceCopier
java.lang.Object
net.sf.saxon.event.SequenceCopier
Copies a sequence, supplied as a SequenceIterator, to a push pipeline, represented by
a SequenceReceiver
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
copySequence
(SequenceIterator in, Receiver out) Copy a sequence, supplied as a SequenceIterator, to a push pipeline, represented by a SequenceReceiver
-
Method Details
-
copySequence
Copy a sequence, supplied as a SequenceIterator, to a push pipeline, represented by a SequenceReceiver- Parameters:
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.- Throws:
XPathException
- if a failure occurs reading the input or writing the output
-