Package com.saxonica.ee.stream.feed
Class GeneralComparisonEqualityFeed
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.GeneralComparisonEqualityFeed
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.
-
Field Summary
Fields inherited from class net.sf.saxon.event.Outputter
pipelineConfiguration, systemId
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralComparisonEqualityFeed
(WatchManager watchManager, Expression expr, int pushedArg, ItemFeed result, XPathContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Supply an item to the feedvoid
close()
Finish evaluating the expression.void
open
(Terminator terminator) Start evaluating the expression.Methods inherited from class com.saxonica.ee.stream.feed.AtomicItemFeed
attribute, characters, comment, endDocument, endElement, namespace, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement
Methods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, dynamicError, endSelectedParentNode, getContext, getExpression, getResultFeed, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminator, startSelectedParentNode
Methods inherited from class net.sf.saxon.event.ProxyOutputter
getNextOutputter, open, usesTypeAnnotations
Methods inherited from class net.sf.saxon.event.Outputter
getConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId, spreadStartElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.saxon.event.Receiver
handlesAppend
-
Constructor Details
-
GeneralComparisonEqualityFeed
public GeneralComparisonEqualityFeed(WatchManager watchManager, Expression expr, int pushedArg, ItemFeed result, XPathContext context)
-
-
Method Details
-
open
Description copied from class:ItemFeed
Start evaluating the expression. The default implementation does nothing.- Overrides:
open
in classItemFeed
- Parameters:
terminator
- used to achieve early exit- Throws:
XPathException
- if a dynamic error occurs
-
append
Supply an item to the feed- Specified by:
append
in interfaceReceiver
- Specified by:
append
in classItemFeed
- 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
Description copied from class:ItemFeed
Finish evaluating the expression.- Specified by:
close
in interfaceReceiver
- Overrides:
close
in classItemFeed
- Throws:
XPathException
- if a dynamic error occurs
-