public class SimpleContentFeed extends AbsorptionFeed
The AdjacentTextNodeMergerFeed is used when the node is constructed as a result of a computation on the streamed data,
xsl:value-of select="distinct-values(.//@price)". By contrast, a SimpleContentWatch
is used when the streamed nodes are selected directly, for example
Both a Feed and a Watch are needed because a simple content constructor operates on a sequence of nodes without simply atomizing the sequence.
|Modifier and Type||Method and Description|
Create a pending item (appropriate to the subclass) containing the data needed to compute the result value for one node in the streamed input sequence
Process a grounded item in the input sequence: either a streamed leaf node such as an attribute or text node, or an atomic value, or a non-streamed element or document node injected into the sequence for example by use of the comma operator.
endSelectedParentNode, processItem, setHasFailed, startSelectedParentNode
close, dynamicError, getContext, getExpression, getPipelineConfiguration, getReceiver, getResult, getTerminator, hasFailed, open, processItems, setExpression, setPipelineConfiguration, setTerminator
public SimpleContentFeed(Feed result)
protected AbsorptionFeed.PendingItem makePendingItem(int sequenceNr, FleetingParentNode node)
protected Sequence processGroundedItem(Item item) throws XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.