public class AxisExpressionAdjunct extends StreamingAdjunct
Constructor and Description |
---|
AxisExpressionAdjunct() |
Modifier and Type | Method and Description |
---|---|
PostureAndSweep |
computeStreamability(ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons)
Compute the posture and sweep of this expression as defined in the W3C streamability specifications.
|
WatchMaker |
getWatchMaker(boolean forGrouping)
Get a WatchMaker, a factory class that creates a Watch to evaluate 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)
|
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression
public Pattern toStreamingPattern(Configuration config)
toStreamingPattern
in class StreamingAdjunct
config
- the Saxon configurationpublic WatchMaker getWatchMaker(boolean forGrouping) throws XPathException
StreamingAdjunct
Expression.WATCH_METHOD
getWatchMaker
in class StreamingAdjunct
forGrouping
- true if the selected items are being groupedXPathException
- in the event of a failurepublic PostureAndSweep computeStreamability(ContextItemStaticInfoEE contextInfo, java.util.List<java.lang.String> reasons)
StreamingAdjunct
computeStreamability
in class StreamingAdjunct
contextInfo
- 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.Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.