public abstract class EventFeed extends Object implements Feed
Constructor and Description |
---|
EventFeed(Expression exp,
Feed result,
Stack<XPathContext> contextStack) |
Modifier and Type | Method and Description |
---|---|
void |
append(Item item)
Append an item (node or atomic value) to the output
|
void |
close()
Finish evaluating the expression.
|
XPathContext |
getContext()
Get the dynamic evaluation context
|
Stack<XPathContext> |
getContextStack()
Get the stack of XPathContext objects
|
Expression |
getExpression()
Get the expression being evaluated by this EventFeed
|
PipelineConfiguration |
getPipelineConfiguration()
Get the pipeline configuration
|
Feed |
getResult()
Get the parent expression feed
|
void |
open()
Start evaluating the expression.
|
void |
setPipelineConfiguration(PipelineConfiguration pipe)
Set the pipeline configuration
|
public EventFeed(Expression exp, Feed result, Stack<XPathContext> contextStack)
public void setPipelineConfiguration(PipelineConfiguration pipe)
pipe
- the pipeline configurationpublic PipelineConfiguration getPipelineConfiguration()
getPipelineConfiguration
in interface Feed
public Feed getResult()
public Expression getExpression()
public XPathContext getContext()
public Stack<XPathContext> getContextStack()
public void open() throws XPathException
open
in interface Feed
XPathException
- if a dynamic error occurspublic void append(Item item) throws XPathException
append
in interface Feed
item
- the item to be appendedXPathException
- 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.