com.saxonica.stream.feed
Class ForEachFeed

java.lang.Object
  extended by com.saxonica.stream.feed.ItemFeed
      extended by com.saxonica.stream.feed.ForEachFeed
All Implemented Interfaces:
Feed

public class ForEachFeed
extends ItemFeed

This class is used when a streaming template applies xsl:for-each to items that don't come directly from the streamed document, but rather are constructed in the course of the push pipeline


Constructor Summary
ForEachFeed(Expression expr, Feed result, Stack<XPathContext> contextStack)
           
 
Method Summary
 void append(Item item)
          Supply an item to the feed
 
Methods inherited from class com.saxonica.stream.feed.ItemFeed
close, getContext, getContextStack, getExpression, getPipelineConfiguration, getResult, open, setPipelineConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForEachFeed

public ForEachFeed(Expression expr,
                   Feed result,
                   Stack<XPathContext> contextStack)
Method Detail

append

public void append(Item item)
            throws XPathException
Supply an item to the feed

Specified by:
append in interface Feed
Specified by:
append in class ItemFeed
Parameters:
item - the item being fed
Throws:
XPathException - to report any failure


Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.