Package com.saxonica.ee.stream.feed
Class SinkFeed
- java.lang.Object
- 
- net.sf.saxon.event.Outputter
- 
- net.sf.saxon.event.ProxyOutputter
- 
- com.saxonica.ee.stream.feed.ItemFeed
- 
- com.saxonica.ee.stream.feed.SinkFeed
 
 
 
 
- 
- 
Field Summary- 
Fields inherited from class net.sf.saxon.event.OutputterpipelineConfiguration, systemId
 
- 
 - 
Constructor SummaryConstructors Constructor Description SinkFeed(XPathContext context)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Item item)Supply one item towards the streamed input of the expressionbooleanhandlesAppend()Ask whether this Receiver can handle arbitrary items in itsReceiver.append(net.sf.saxon.om.Item, net.sf.saxon.s9api.Location, int)andReceiver.append(Item, Location, int)methods.voidopen(Terminator terminator)Start evaluating the expression.- 
Methods inherited from class com.saxonica.ee.stream.feed.ItemFeedappend, close, dynamicError, endSelectedParentNode, getContext, getExpression, getResultFeed, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminator, startSelectedParentNode
 - 
Methods inherited from class net.sf.saxon.event.ProxyOutputterattribute, characters, comment, endDocument, endElement, getNextOutputter, namespace, open, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement, usesTypeAnnotations
 - 
Methods inherited from class net.sf.saxon.event.OutputtergetConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId
 
- 
 
- 
- 
- 
Constructor Detail- 
SinkFeedpublic SinkFeed(XPathContext context) 
 
- 
 - 
Method Detail- 
openpublic void open(Terminator terminator) throws XPathException Description copied from class:ItemFeedStart evaluating the expression. The default implementation does nothing.- Overrides:
- openin class- ItemFeed
- Parameters:
- terminator- used to achieve early exit
- Throws:
- XPathException- if a dynamic error occurs
 
 - 
appendpublic void append(Item item) throws XPathException Description copied from class:ItemFeedSupply one item towards the streamed input of the expression- Specified by:
- appendin interface- Receiver
- Specified by:
- appendin class- ItemFeed
- Parameters:
- item- the item to be supplied
- Throws:
- XPathException- if the operation fails
 
 - 
handlesAppendpublic boolean handlesAppend() Description copied from interface:ReceiverAsk whether this Receiver can handle arbitrary items in itsReceiver.append(net.sf.saxon.om.Item, net.sf.saxon.s9api.Location, int)andReceiver.append(Item, Location, int)methods. If it cannot, then calling these methods will raise an exception (typically but not necessarily anUnsupportedOperationException). The default implementation of this method returns false.- Returns:
- true if the Receiver is able to handle items supplied to
 its Receiver.append(net.sf.saxon.om.Item, net.sf.saxon.s9api.Location, int)andReceiver.append(Item, Location, int)methods. A receiver that returns true may still reject some kinds of item, for example it may reject function items.
 
 
- 
 
-