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
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.event.Outputter
pipelineConfiguration, systemId
-
-
Constructor Summary
Constructors Constructor Description NextIterationFeed(Expression inst, ItemFeed result, XPathContext context, int arg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
append(Item item)
Supply an item to the feedvoid
close()
Signal the end of the sequence of itemsvoid
open(Terminator terminator)
Start evaluating the expression.-
Methods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, dynamicError, endSelectedParentNode, getContext, getExpression, getResult, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminator, startSelectedParentNode
-
Methods inherited from class net.sf.saxon.event.ProxyOutputter
attribute, characters, comment, endDocument, endElement, getNextOutputter, namespace, open, processingInstruction, setLocation, setUnparsedEntity, startContent, startDocument, startElement, startElement, usesTypeAnnotations
-
Methods inherited from class net.sf.saxon.event.Outputter
getConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.event.Receiver
handlesAppend
-
-
-
-
Constructor Detail
-
NextIterationFeed
public NextIterationFeed(Expression inst, ItemFeed result, XPathContext context, int arg) throws XPathException
- Throws:
XPathException
-
-
Method Detail
-
open
public void open(Terminator terminator) throws XPathException
Description copied from class:ItemFeed
Start evaluating the expression. The default implementation does nothing.- Overrides:
open
in classItemFeed
- Parameters:
terminator
- used to achieve early exit- Throws:
XPathException
- if a dynamic error occurs
-
append
public void append(Item item) throws XPathException
Supply an item to the feed- Specified by:
append
in interfaceReceiver
- Specified by:
append
in classItemFeed
- Parameters:
item
- the item being fed- Throws:
XPathException
- to report any failure
-
close
public void close() throws XPathException
Signal the end of the sequence of items- Specified by:
close
in interfaceReceiver
- Overrides:
close
in classItemFeed
- Throws:
XPathException
- to report any failure
-
-