public class AdjacentTextNodeMergerFeed extends ItemFeed
Both a Feed and a Watch are needed because a simple content constructor operates on a sequence of nodes without simply atomizing the sequence.
| Constructor and Description | 
|---|
| AdjacentTextNodeMergerFeed(Expression expr,
                          Feed result,
                          Stack<XPathContext> contextStack) | 
| 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 | 
| void | open()Start evaluating the expression. | 
getContext, getContextStack, getExpression, getPipelineConfiguration, getResult, setPipelineConfigurationpublic AdjacentTextNodeMergerFeed(Expression expr, Feed result, Stack<XPathContext> contextStack)
public void open()
          throws XPathException
ItemFeedopen in interface Feedopen in class ItemFeedXPathException - if a dynamic error occurspublic void append(Item item) throws XPathException
append in interface Feedappend in class ItemFeeditem - the item being fedXPathException - to report any failurepublic void close()
           throws XPathException
close in interface Feedclose in class ItemFeedXPathException - to report any failureCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.