public abstract class ItemFeed extends Object implements Feed
Constructor and Description |
---|
ItemFeed(Expression exp,
Feed result,
Stack<XPathContext> contextStack) |
Modifier and Type | Method and Description |
---|---|
abstract void |
append(Item item)
Supply one item towards the streamed input of the expression
|
void |
close()
Finish evaluating the expression.
|
XPathContext |
getContext()
Get the dynamic evaluation context
|
Stack<XPathContext> |
getContextStack() |
Expression |
getExpression()
Get the expression being evaluated by this ItemFeed
|
PipelineConfiguration |
getPipelineConfiguration()
Get the pipeline configuration
|
Feed |
getResult()
Get the result, that is, the ItemFeed to which the items in the result
of the expression should be supplied
|
void |
open()
Start evaluating the expression.
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
|
public ItemFeed(Expression exp, Feed result, Stack<XPathContext> contextStack)
public Expression getExpression()
public Feed getResult()
public void setPipelineConfiguration(PipelineConfiguration pipe)
pipe
- the pipeline configurationpublic PipelineConfiguration getPipelineConfiguration()
getPipelineConfiguration
in interface Feed
public XPathContext getContext()
public Stack<XPathContext> getContextStack()
public void open() throws XPathException
open
in interface Feed
XPathException
- if a dynamic error occurspublic abstract void append(Item item) throws XPathException
append
in interface Feed
item
- the item to be suppliedXPathException
- to report any failurepublic void close() throws XPathException
close
in interface Feed
XPathException
- if a dynamic error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.