public class StringValueFeed extends AbsorptionFeed
AbsorptionFeed.PendingItem
Constructor and Description |
---|
StringValueFeed(Feed result,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
void |
close()
The close() method is called immediately before the Watch is destroyed, that is,
when the element whose declaration scopes the constraint implemented by this
Watch goes out of scope.
|
protected AbsorptionFeed.PendingItem |
makePendingItem(int sequenceNr,
FleetingParentNode node)
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
|
protected Sequence |
processGroundedItem(Item item)
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
dynamicError, getContext, getExpression, getPipelineConfiguration, getReceiver, getResult, getTerminator, hasFailed, open, processItems, setExpression, setPipelineConfiguration, setTerminator
public StringValueFeed(Feed result, XPathContext context)
protected AbsorptionFeed.PendingItem makePendingItem(int sequenceNr, FleetingParentNode node)
AbsorptionFeed
makePendingItem
in class AbsorptionFeed
sequenceNr
- the sequence number of this node within a set of nested nodesnode
- the streamed input nodeprotected Sequence processGroundedItem(Item item) throws XPathException
AbsorptionFeed
processGroundedItem
in class AbsorptionFeed
item
- the grounded itemXPathException
- if a dynamic error occurspublic void close() throws XPathException
close
in interface Feed
close
in class ItemFeed
XPathException
- May be raised if a dynamic error occursCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.