public static class TryCatchAdjunct.TryCatchFeed extends ItemFeed
| Constructor and Description |
|---|
TryCatchFeed(Expression exp,
Feed out,
XPathContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Finish evaluating the expression.
|
void |
dynamicError(XPathException err)
Report a dynamic error.
|
SequenceReceiver |
getReceiver()
Get a receiver to which start and end events for documents and elements can be
written.
|
void |
open(Terminator terminator)
Start evaluating the expression.
|
void |
processItem(Item<?> item)
Supply one item towards the streamed input of the expression
|
endSelectedParentNode, getContext, getExpression, getPipelineConfiguration, getResult, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setPipelineConfiguration, setTerminator, startSelectedParentNodepublic TryCatchFeed(Expression exp, Feed out, XPathContext context)
public void open(Terminator terminator) throws XPathException
open in interface Feedopen in class ItemFeedterminator - XPathException - if a dynamic error occurspublic SequenceReceiver getReceiver()
getReceiver in interface FeedgetReceiver in class ItemFeedpublic void processItem(Item<?> item) throws XPathException
processItem in interface FeedprocessItem in class ItemFeeditem - the item to be suppliedXPathException - May be raised if a dynamic error occurspublic void close()
throws XPathException
close in interface Feedclose in class ItemFeedXPathException - if a dynamic error occurspublic void dynamicError(XPathException err) throws XPathException
ItemFeeddynamicError in class ItemFeederr - 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.