Package org.mozilla.javascript.jdk15
Class VMBridge_jdk15
- java.lang.Object
-
- org.mozilla.javascript.VMBridge
-
- org.mozilla.javascript.jdk13.VMBridge_jdk13
-
- org.mozilla.javascript.jdk15.VMBridge_jdk15
-
public class VMBridge_jdk15 extends VMBridge_jdk13
-
-
Constructor Summary
Constructors Constructor Description VMBridge_jdk15()
-
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.boolean
isVarArgs(java.lang.reflect.Member member)
-
-
-
Method Detail
-
isVarArgs
public boolean isVarArgs(java.lang.reflect.Member member)
-
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.- Overrides:
getJavaIterator
in classVMBridge
-
-