public class BufferingFeed extends ItemFeed
Constructor and Description |
---|
BufferingFeed(Expression expr,
Feed result,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Signal the end of the sequence of items
|
void |
processItem(Item item)
Supply an item to the feed
|
dynamicError, endSelectedParentNode, getContext, getExpression, getPipelineConfiguration, getReceiver, getResult, getTerminator, hasFailed, open, processItems, setExpression, setHasFailed, setPipelineConfiguration, setTerminator, startSelectedParentNode
public BufferingFeed(Expression expr, Feed result, XPathContext context)
public void processItem(Item item) throws XPathException
processItem
in interface Feed
processItem
in class ItemFeed
item
- the item being fedXPathException
- to report any failurepublic void close() throws XPathException
close
in interface Feed
close
in class ItemFeed
XPathException
- to report any failureCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.