com.saxonica.stream.action
Class PushToStackAction

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

public class PushToStackAction
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
PushToStackAction()
           
 
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

PushToStackAction

public PushToStackAction()
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.