Package com.saxonica.ee.stream
Class StreamingSequenceWriter
- java.lang.Object
-
- net.sf.saxon.event.SequenceReceiver
-
- net.sf.saxon.event.SequenceWriter
-
- com.saxonica.ee.stream.StreamingSequenceWriter
-
- All Implemented Interfaces:
javax.xml.transform.Result
,Receiver
public class StreamingSequenceWriter extends SequenceWriter
A SequenceWriter that can be used on a streaming pipeline to direct the output of an operation to the next expression in the pipeline
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.event.SequenceReceiver
pipelineConfiguration, previousAtomic, systemId
-
-
Constructor Summary
Constructors Constructor Description StreamingSequenceWriter(PipelineConfiguration pipe, Outputter out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(Item item)
Abstract method to be supplied by subclasses: output one item in the sequence.-
Methods inherited from class net.sf.saxon.event.SequenceWriter
append, characters, close, comment, endDocument, endElement, getTreeModel, processingInstruction, setTreeModel, setUnparsedEntity, startDocument, startElement, usesTypeAnnotations
-
Methods inherited from class net.sf.saxon.event.SequenceReceiver
append, decompose, flatten, getConfiguration, getErrorCodeForDecomposingFunctionItems, getNamePool, getPipelineConfiguration, getSystemId, handlesAppend, open, setPipelineConfiguration, setSystemId
-
-
-
-
Constructor Detail
-
StreamingSequenceWriter
public StreamingSequenceWriter(PipelineConfiguration pipe, Outputter out)
-
-
Method Detail
-
write
public void write(Item item) throws XPathException
Description copied from class:SequenceWriter
Abstract method to be supplied by subclasses: output one item in the sequence.- Specified by:
write
in classSequenceWriter
- Parameters:
item
- the item to be written to the sequence- Throws:
XPathException
- if any failure occurs while writing the item
-
-