com.saxonica.stream.action
Class InstructionAction

java.lang.Object
  extended by com.saxonica.stream.action.InstructionAction
All Implemented Interfaces:
StreamingAction

public class InstructionAction
extends Object
implements StreamingAction

A streaming action that outputs the value of a given expression


Constructor Summary
InstructionAction(Expression expr)
           
 
Method Summary
 void explain(ExpressionPresenter presenter)
          Explain the action
 void process(Stack<XPathContext> contextStack, Stack state)
          Perform the action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionAction

public InstructionAction(Expression expr)
Method Detail

process

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

Specified by:
process in interface StreamingAction
Parameters:
contextStack -
state - @throws net.sf.saxon.trans.XPathException
Throws:
XPathException

explain

public void explain(ExpressionPresenter presenter)
Explain the action

Specified by:
explain in interface StreamingAction
Parameters:
presenter - The ExpressionPresenter (destination for the explanation


Copyright (c) Saxonica Limited. All rights reserved.