Package com.saxonica.ee.stream.feed
Class NextIterationFeed
java.lang.Object
net.sf.saxon.event.Outputter
net.sf.saxon.event.ProxyOutputter
com.saxonica.ee.stream.feed.ItemFeed
com.saxonica.ee.stream.feed.NextIterationFeed
This class is used when one of the xsl:with-param elements within an xsl:next-iteration
of an xsl:iterate consumes the streamed input
-
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
ConstructorsConstructorDescriptionNextIterationFeed(Expression inst, ItemFeed result, XPathContext context, int arg) -
Method Summary
Modifier and TypeMethodDescriptionvoidSupply an item to the feedvoidclose()Signal the end of the sequence of itemsvoidopen(Terminator terminator) Start evaluating the expression.Methods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, dynamicError, endSelectedParentNode, getContext, getExpression, getResultFeed, getTerminator, hasFailed, 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
-
NextIterationFeed
public NextIterationFeed(Expression inst, ItemFeed result, XPathContext context, int arg) throws XPathException - Throws:
XPathException
-
-
Method Details
-
open
Description copied from class:ItemFeedStart evaluating the expression. The default implementation does nothing.- Overrides:
openin classItemFeed- Parameters:
terminator- used to achieve early exit- Throws:
XPathException- if a dynamic error occurs
-
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
-