com.plotnix.jex.javascript
Class JavaScriptIterationExpression

java.lang.Object
  |
  +--com.plotnix.jex.javascript.JavaScriptExpression
        |
        +--com.plotnix.jex.javascript.JavaScriptIterationExpression
All Implemented Interfaces:
IterationExpression

public class JavaScriptIterationExpression
extends JavaScriptExpression
implements IterationExpression

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

Fields inherited from class com.plotnix.jex.javascript.JavaScriptExpression
JS_AUTODECLARE, JS_GLOBAL_SCOPE_PROPERTY, JS_PSEUDO_VARIABLE, JS_SCOPE_PROPERTY
 
Constructor Summary
JavaScriptIterationExpression(org.mozilla.javascript.Script script)
           
 
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.
 
Methods inherited from class com.plotnix.jex.javascript.JavaScriptExpression
getContextScope, getGlobalScope, getLocalScope, getLocalScope, getScript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptIterationExpression

public JavaScriptIterationExpression(org.mozilla.javascript.Script script)
Parameters:
script - is a compiled JavaScript to be associated with this expression
Method Detail

iterate

public java.util.Iterator iterate(Context context,
                                  java.lang.Object[] arguments)
Description copied from interface: IterationExpression
Produces the iterator described by the expression in the specified context with the supplied arguments.
Specified by:
iterate in interface IterationExpression
See Also:
IterationExpression.iterate(Context, Object[])


Copyright (c) 2002 - Plotnix, Inc