com.plotnix.jex
Interface IterationExpression

All Known Implementing Classes:
InterpretedExpression, JavaScriptIterationExpression, JXPathCompiledExpression

public interface IterationExpression

Compiled form of an iteration expression, which can be evaluated in a Context.

Version:
$Revision$ $Date$
Author:
Dmitri Plotnikov

Method Summary
 java.util.Iterator iterate(Context context, java.lang.Object[] arguments)
          Produces the iterator described by the expression in the specified context with the supplied arguments.
 

Method Detail

iterate

public java.util.Iterator iterate(Context context,
                                  java.lang.Object[] arguments)
Produces the iterator described by the expression in the specified context with the supplied arguments.
Parameters:
context - is an evaluation context.
arguments - are argument of the expression. Can be null if the expression does not take any arguments.
Returns:
the result of the evaluation of this expression


Copyright (c) 2002 - Plotnix, Inc