public class ShallowCopyEventFeed extends ItemFeed
The instruction-dependent code is contained in the processLeft() and processRight() methods
pipelineConfiguration, systemId
Constructor and Description |
---|
ShallowCopyEventFeed(Mode mode,
ItemFeed parentExpressionFeed,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
append(Item item)
Supply one item towards the streamed input of the expression
|
void |
close()
Finish evaluating the expression.
|
void |
open(Terminator terminator)
Start evaluating the expression.
|
append, dynamicError, endSelectedParentNode, getContext, getExpression, getResult, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlesAppend
public ShallowCopyEventFeed(Mode mode, ItemFeed parentExpressionFeed, 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 void close() throws XPathException
ItemFeed
close
in interface Receiver
close
in class ItemFeed
XPathException
- if a dynamic error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.