Package com.saxonica.ee.stream.feed
Class GeneralComparisonInequalityFeed
- java.lang.Object
- 
- net.sf.saxon.event.Outputter
- 
- net.sf.saxon.event.ProxyOutputter
- 
- com.saxonica.ee.stream.feed.ItemFeed
- 
- com.saxonica.ee.stream.feed.AtomicItemFeed
- 
- com.saxonica.ee.stream.feed.GeneralComparisonInequalityFeed
 
 
 
 
 
- 
- All Implemented Interfaces:
- javax.xml.transform.Result,- Receiver
 
 public class GeneralComparisonInequalityFeed extends AtomicItemFeed This class is used when a streaming template requests a general comparison with one operand being pushed from the streamed input document, and the other being evaluated in pull mode; used when the operator is "!=" which means we only need to remember one value (the result is true as soon as we find two values that differ).
- 
- 
Field Summary- 
Fields inherited from class net.sf.saxon.event.OutputterpipelineConfiguration, systemId
 
- 
 - 
Constructor SummaryConstructors Constructor Description GeneralComparisonInequalityFeed(WatchManager watchManager, Expression expr, int pushedArg, ItemFeed result, XPathContext context)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(Item item)Supply an item to the feedvoidclose()Finish evaluating the expression.voidopen(Terminator terminator)Start evaluating the expression.- 
Methods inherited from class com.saxonica.ee.stream.feed.AtomicItemFeedattribute, characters, comment, endDocument, endElement, namespace, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement
 - 
Methods inherited from class com.saxonica.ee.stream.feed.ItemFeedappend, dynamicError, endSelectedParentNode, getContext, getExpression, getResultFeed, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminator, startSelectedParentNode
 - 
Methods inherited from class net.sf.saxon.event.ProxyOutputtergetNextOutputter, open, usesTypeAnnotations
 - 
Methods inherited from class net.sf.saxon.event.OutputtergetConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface net.sf.saxon.event.ReceiverhandlesAppend
 
- 
 
- 
- 
- 
Constructor Detail- 
GeneralComparisonInequalityFeedpublic GeneralComparisonInequalityFeed(WatchManager watchManager, Expression expr, int pushedArg, ItemFeed result, XPathContext context) 
 
- 
 - 
Method Detail- 
openpublic void open(Terminator terminator) throws XPathException Description copied from class:ItemFeedStart evaluating the expression. The default implementation does nothing.- Overrides:
- openin class- ItemFeed
- Parameters:
- terminator- used to achieve early exit
- Throws:
- XPathException- if a dynamic error occurs
 
 - 
appendpublic void append(Item item) throws XPathException Supply an item to the feed- Specified by:
- appendin interface- Receiver
- Specified by:
- appendin 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
 
 - 
closepublic void close() throws XPathExceptionDescription copied from class:ItemFeedFinish evaluating the expression.- Specified by:
- closein interface- Receiver
- Overrides:
- closein class- ItemFeed
- Throws:
- XPathException- if a dynamic error occurs
 
 
- 
 
-