public class DocumentInstrAdjunct extends StreamingAdjunct
Constructor and Description |
---|
DocumentInstrAdjunct() |
Modifier and Type | Method and Description |
---|---|
FeedMaker |
getFeedMaker(Expression expression,
int arg)
Get a FeedMaker, a factory class that creates a Feed to evaluate this expression
in streaming mode.
|
static void |
processLeft(Stack<XPathContext> contextStack,
Stack<Object> state)
In streaming mode, process the first half of the instruction (to start a new document or element)
|
static void |
processRight(Stack<XPathContext> contextStack,
Stack<Object> state)
In streaming mode, proecss the right half of the instruction (to end a new document or element)
|
getConfiguration, getWatchMaker, makeStreamingAdjunct, setConfiguration
public FeedMaker getFeedMaker(Expression expression, int arg)
StreamingAdjunct
getFeedMaker
in class StreamingAdjunct
expression
- the expression to be evaluated in streaming modearg
- identifies the argument with respect to which the expression is to be inverted:
usually 0 to indicate the first argument is the value that is streamed. Argument numbering
is the same as the sequence of arguments/operands returned by the method Expression.iterateSubExpressions()
public static void processLeft(Stack<XPathContext> contextStack, Stack<Object> state) throws XPathException
contextStack
- the dynamic evaluation contextstate
- a stack on which the instruction can save state information for use during the correspondingXPathException
public static void processRight(Stack<XPathContext> contextStack, Stack<Object> state) throws XPathException
contextStack
- the dynamic evaluation contextstate
- a stack on which the instruction can save state information for use during the correspondingXPathException
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.