Package com.saxonica.ee.stream.feed
Class DelegatingFeed
java.lang.Object
net.sf.saxon.event.Outputter
net.sf.saxon.event.ProxyOutputter
com.saxonica.ee.stream.feed.ItemFeed
com.saxonica.ee.stream.feed.DelegatingFeed
A DelegatingFeed is an ItemFeed that delegates most of its work to a supplied Outputter.
This allows standard Outputter code (for example, the WherePopulatedReceiver) to be used
in a streaming pipeline.
-
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
Modifier and TypeMethodDescriptionvoidSupply one item towards the streamed input of the expressionGet the result, that is, the ItemFeed to which the items in the result of the expression should be suppliedMethods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, close, dynamicError, endSelectedParentNode, getContext, getExpression, 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
-
DelegatingFeed
-
-
Method Details
-
getResultFeed
Get the result, that is, the ItemFeed to which the items in the result of the expression should be supplied- Overrides:
getResultFeedin classItemFeed- Returns:
- the Outputter that consumes the results of this expression
-
append
Description copied from class:ItemFeedSupply one item towards the streamed input of the expression- Specified by:
appendin interfaceReceiver- Specified by:
appendin classItemFeed- Parameters:
item- the item to be supplied- Throws:
XPathException- if the operation fails
-