Package com.saxonica.ee.stream.feed
Class BufferingFeed
java.lang.Object
net.sf.saxon.event.Outputter
net.sf.saxon.event.ProxyOutputter
com.saxonica.ee.stream.feed.ItemFeed
com.saxonica.ee.stream.feed.BufferingFeed
A BufferingFeed is used to wrap an expression that does not have intrinsic capability
to accept streamed input. The expression must have been modified to read its input from
a SuppliedParameterReference referring to the dynamic context stack. This feed buffers up
the streamed input, and on its close() method calls the wrapped expression having placed
the buffered input onto the context stack, from where the expression will now read it.
-
Field Summary
Fields inherited from class net.sf.saxon.event.Outputter
pipelineConfiguration, systemIdFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, dynamicError, endSelectedParentNode, getContext, getExpression, getResultFeed, getTerminator, hasFailed, open, processItems, setExpression, setHasFailed, setTerminator, startSelectedParentNodeMethods inherited from class net.sf.saxon.event.ProxyOutputter
attribute, characters, comment, endDocument, endElement, getNextOutputter, namespace, open, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement, usesTypeAnnotationsMethods inherited from class net.sf.saxon.event.Outputter
getConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId, spreadStartElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.event.Receiver
handlesAppend
-
Constructor Details
-
BufferingFeed
-
-
Method Details
-
append
Supply an item to the feed- Specified by:
appendin interfaceReceiver- Specified by:
appendin classItemFeed- Parameters:
item- the item being fed- Throws:
XPathException- to report any failure
-
close
Signal the end of the sequence of items- Specified by:
closein interfaceReceiver- Overrides:
closein classItemFeed- Throws:
XPathException- to report any failure
-