public static class TryCatchAdjunct.TryCatchFeed extends ItemFeed
pipelineConfiguration, systemId
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 |
dynamicError(XPathException err)
Report a dynamic error.
|
void |
open(Terminator terminator)
Start evaluating the expression.
|
append, 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 void open(Terminator terminator) throws XPathException
open
in class ItemFeed
terminator
- used to achieve early exitXPathException
- if a dynamic error occurspublic void append(Item item) throws XPathException
append
in interface Receiver
append
in class ItemFeed
item
- the item to be suppliedXPathException
- if the operation failspublic void close() throws XPathException
close
in interface Receiver
close
in class ItemFeed
XPathException
- if a dynamic error occurspublic void dynamicError(XPathException err) throws XPathException
ItemFeed
dynamicError
in class ItemFeed
err
- the exception representing the dynamic errorXPathException
- if there is no try/catch expression wanting to catch this errorCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.