com.saxonica.stream.feed
Class GeneralComparisonFeed
java.lang.Object
com.saxonica.stream.feed.ItemFeed
com.saxonica.stream.feed.GeneralComparisonFeed
- All Implemented Interfaces:
- Feed
public class GeneralComparisonFeed
- extends ItemFeed
This class is used when a streaming template requests a general comparison with one operand
being pushed from the streamed input document
Method Summary |
void |
append(Item item)
Supply an item to the feed |
void |
close()
Finish evaluating the expression. |
void |
open()
Start evaluating the expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralComparisonFeed
public GeneralComparisonFeed(Expression expr,
int pushedArg,
Feed result,
Stack<XPathContext> contextStack)
open
public void open()
throws XPathException
- Description copied from class:
ItemFeed
- Start evaluating the expression. The default implementation does nothing.
- Specified by:
open
in interface Feed
- Overrides:
open
in class ItemFeed
- Throws:
XPathException
- if a dynamic error occurs
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 (in this case, an item in the "pushed" operand
sequence that is being compared
- Throws:
XPathException
- to report any failure
close
public void close()
throws XPathException
- Description copied from class:
ItemFeed
- Finish evaluating the expression. The default implementation does nothing.
- Specified by:
close
in interface Feed
- Overrides:
close
in class ItemFeed
- Throws:
XPathException
- if a dynamic error occurs
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.