Constructor and Description |
---|
GeneralComparisonFeed(Expression expr,
int pushedArg,
Feed result,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Finish evaluating the expression.
|
void |
open(Terminator terminator)
Start evaluating the expression.
|
void |
processItem(Item item)
Supply an item to the feed
|
dynamicError, endSelectedParentNode, getContext, getExpression, getPipelineConfiguration, getReceiver, getResult, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setPipelineConfiguration, setTerminator, startSelectedParentNode
public GeneralComparisonFeed(Expression expr, int pushedArg, Feed result, XPathContext context)
public void open(Terminator terminator) throws XPathException
ItemFeed
open
in interface Feed
open
in class ItemFeed
terminator
- used to achieve early exitXPathException
- if a dynamic error occurspublic void processItem(Item item) throws XPathException
processItem
in interface Feed
processItem
in class ItemFeed
item
- the item being fed (in this case, an item in the "pushed" operand
sequence that is being comparedXPathException
- to report any failurepublic void close() throws XPathException
ItemFeed
close
in interface Feed
close
in class ItemFeed
XPathException
- if a dynamic error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.