pipelineConfiguration, systemId
Constructor and Description |
---|
SinkFeed(XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
append(Item item)
Supply one item towards the streamed input of the expression
|
boolean |
handlesAppend()
Ask whether this Receiver can handle arbitrary items in its
Receiver.append(net.sf.saxon.om.Item, net.sf.saxon.s9api.Location, int) and
Receiver.append(Item, Location, int) methods. |
void |
open(Terminator terminator)
Start evaluating the expression.
|
append, close, dynamicError, endSelectedParentNode, getContext, getExpression, getResultFeed, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminator, startSelectedParentNode
attribute, characters, comment, endDocument, endElement, getNextOutputter, namespace, open, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement, usesTypeAnnotations
getConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId
public SinkFeed(XPathContext context)
public void open(Terminator terminator) throws XPathException
ItemFeed
open
in class ItemFeed
terminator
- used to achieve early exitXPathException
- if a dynamic error occurspublic void append(Item item) throws XPathException
ItemFeed
append
in interface Receiver
append
in class ItemFeed
item
- the item to be suppliedXPathException
- if the operation failspublic boolean handlesAppend()
Receiver
Receiver.append(net.sf.saxon.om.Item, net.sf.saxon.s9api.Location, int)
and
Receiver.append(Item, Location, int)
methods. If it cannot, then calling
these methods will raise an exception (typically but not necessarily an
UnsupportedOperationException
). The default implementation of this
method returns false.Receiver.append(net.sf.saxon.om.Item, net.sf.saxon.s9api.Location, int)
and Receiver.append(Item, Location, int)
methods. A
receiver that returns true may still reject some kinds of item, for example
it may reject function items.Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.