com.saxonica.stream.action
Interface StreamingAction

All Known Implementing Classes:
InstructionAction, LeftAction, PopFromStackAction, PushPositionAction, PushToStackAction, RightAction, StackIteratorAction, StackMappingAction

public interface StreamingAction

An action that can be performed in streaming mode; results from compiling a streamable template


Method Summary
 void explain(ExpressionPresenter presenter)
          Explain the action
 void process(Stack<XPathContext> contextStack, Stack state)
          Perform the action
 

Method Detail

process

void process(Stack<XPathContext> contextStack,
             Stack state)
             throws XPathException
Perform the action

Parameters:
contextStack - stack of XPathContext objects. The method should use the one at the top of the stack. It may also add a new context object to the top of the stack.
state - @throws XPathException
Throws:
XPathException

explain

void explain(ExpressionPresenter presenter)
Explain the action

Parameters:
presenter - The ExpressionPresenter (destination for the explanation


Copyright (c) Saxonica Limited. All rights reserved.