net.sf.saxon.expr.flwor
Class LetClausePush

java.lang.Object
  extended by net.sf.saxon.expr.flwor.TuplePush
      extended by net.sf.saxon.expr.flwor.LetClausePush

public class LetClausePush
extends TuplePush

Implements the changes to a tuple stream effected by the Let clause in a FLWOR expression


Constructor Summary
LetClausePush(TuplePush destination, LetClause letClause)
           
 
Method Summary
 void close()
          Close the tuple stream, indicating that no more tuples will be supplied
 void processTuple(XPathContext context)
          Notify the availability of the next tuple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LetClausePush

public LetClausePush(TuplePush destination,
                     LetClause letClause)
Method Detail

processTuple

public void processTuple(XPathContext context)
                  throws XPathException
Description copied from class: TuplePush
Notify the availability of the next tuple. Before calling this method, the supplier of the tuples must set all the variables corresponding to the supplied tuple in the local stack frame associated with the context object

Specified by:
processTuple in class TuplePush
Parameters:
context - the dynamic evaluation context
Throws:
XPathException - if a dynamic error occurs

close

public void close()
           throws XPathException
Description copied from class: TuplePush
Close the tuple stream, indicating that no more tuples will be supplied

Overrides:
close in class TuplePush
Throws:
XPathException - if a dynamic error occurs


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.