Package org.mozilla.javascript
Class VMBridge
- java.lang.Object
-
- org.mozilla.javascript.VMBridge
-
- Direct Known Subclasses:
VMBridge_jdk13
public abstract class VMBridge extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description VMBridge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<?>
getJavaIterator(Context cx, Scriptable scope, java.lang.Object obj)
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a wrapping as a JavaScript Iterator.
-
-
-
Method Detail
-
getJavaIterator
public java.util.Iterator<?> getJavaIterator(Context cx, Scriptable scope, java.lang.Object obj)
If "obj" is a java.util.Iterator or a java.lang.Iterable, return a wrapping as a JavaScript Iterator. Otherwise, return null. This method is in VMBridge since Iterable is a JDK 1.5 addition.
-
-