public class CurrentGroupAdjunct extends TransmissionAdjunct
Constructor and Description |
---|
CurrentGroupAdjunct() |
Modifier and Type | Method and Description |
---|---|
PostureAndSweep |
computeStreamability(boolean allowExtensions,
ContextItemStaticInfo contextInfo,
List<String> reasons)
Compute the posture and sweep of this expression as defined in the W3C streamability specifications.
|
Feed |
makeItemFeed(WatchManager watchManager,
Feed out,
XPathContext context) |
Trigger |
makeTransmissionFlow(WatchManager watchManager,
Expression exp,
Feed out,
XPathContext context)
Make a Trigger that implements this expression in streaming mode.
|
Pattern |
toStreamingPattern(Configuration config)
Convert this expression to a streaming pattern (a pattern used internally to match nodes during
push processing of an event stream)
|
getWatchMaker
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, setConfiguration, setExpression
public PostureAndSweep computeStreamability(boolean allowExtensions, ContextItemStaticInfo contextInfo, List<String> reasons)
StreamingAdjunct
computeStreamability
in class StreamingAdjunct
allowExtensions
- if false, the definition of "guaranteed streamability" in the
W3C specification is used. If true, Saxon extensions are permitted, which make somecontextInfo
- Information about the context item type and posturereasons
- the caller may supply a list, in which case the implementation may add to this; the
contents are human-readable messages explaining why the expression is not streamable.public Pattern toStreamingPattern(Configuration config)
toStreamingPattern
in class StreamingAdjunct
config
- the Saxon configurationpublic Trigger makeTransmissionFlow(WatchManager watchManager, Expression exp, Feed out, XPathContext context) throws XPathException
TransmissionAdjunct
makeTransmissionFlow
in class TransmissionAdjunct
watchManager
- the WatchManager that fires this triggerexp
- the expressionout
- the next action in the push pipeline for evaluationcontext
- the XPath dynamic contextXPathException
- if a dynamic evaluation error occurs.public Feed makeItemFeed(WatchManager watchManager, Feed out, XPathContext context) throws XPathException
XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.