This section documents the Java classes used for LiveConnect, along with their constructors and methods.
JavaScript-to-Java
These classes allow a Java object to access JavaScript code.
- JSException
-
The public class
JSException
extendsRuntimeException
, and is thrown when JavaScript returns an error. - JSObject
-
The public class
JSObject
extendsObject
. JavaScript objects are wrapped in an instance of the classJSObject
and passed to Java, allowing Java to manipulate JavaScript objects.
Java-to-JavaScript
- Global objects
- JavaArray
- JavaClass
- JavaObject
- JavaPackage
Document Tags and Contributors
Last updated by:
fscholz,