public abstract class InspectionAdjunct extends StreamingAdjunct
Constructor and Description |
---|
InspectionAdjunct() |
Modifier and Type | Method and Description |
---|---|
protected WatchMaker |
getInspectionWatchMaker(Expression parent,
Expression select,
boolean forGrouping)
This is a utility method for subclasses;
it provides a WatchMaker suitable for all constructs that perform inspection on a sequence,
for example exists(), count(), empty(), boolean(), not(), instanceOf.
|
WatchMaker |
getWatchMaker(boolean forGrouping)
Get a WatchMaker, a factory class that creates a Watch to evaluate this expression
in streaming mode.
|
computeStreamability, getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
public 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 failureprotected final WatchMaker getInspectionWatchMaker(Expression parent, Expression select, boolean forGrouping) throws XPathException
parent
- the expression, typically one of the above function callsselect
- the argument to the inspection construct, typically the first argument of one of the above
function callsforGrouping
- XPathException
- in the event of a dynamic error.Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.