public class RetainingFeed extends Object implements Feed
Constructor and Description |
---|
RetainingFeed(PipelineConfiguration pipe) |
Modifier and Type | Method and Description |
---|---|
void |
append(Item item)
Supply an item to the feed
|
void |
close()
Signal the end of the sequence of items
|
PipelineConfiguration |
getPipelineConfiguration()
Get the pipeline configuration
|
List<Item> |
getValue()
Get the accumulated value
|
void |
open()
Signal the start of a sequence of items
|
public RetainingFeed(PipelineConfiguration pipe)
public void append(Item item) throws XPathException
append
in interface Feed
item
- the item being fedXPathException
- to report any failurepublic void open() throws XPathException
Feed
open
in interface Feed
XPathException
- to report any failurepublic void close() throws XPathException
Feed
close
in interface Feed
XPathException
- to report any failurepublic PipelineConfiguration getPipelineConfiguration()
Feed
getPipelineConfiguration
in interface Feed
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.