com.saxonica.stream.action
Class StackIteratorAction

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

public class StackIteratorAction
extends Object
implements StreamingAction

A streaming action that takes the contents of the current SequenceOutputter and places a SequenceIterator representing these contents on the operation stack


Constructor Summary
StackIteratorAction(Expression exp)
           
 
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

StackIteratorAction

public StackIteratorAction(Expression exp)
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.