| java.lang.Object org.zkoss.zk.scripting.util.GenericInterpreter org.zkoss.zkmax.scripting.rhino.RhinoInterpreter
RhinoInterpreter | public class RhinoInterpreter extends GenericInterpreter (Code) | | Rhino-based JavaScript interpreter.
author: tomyeh |
RhinoInterpreter | public RhinoInterpreter()(Code) | | |
afterExec | protected void afterExec()(Code) | | |
beforeExec | protected void beforeExec()(Code) | | |
destroy | public void destroy()(Code) | | |
getGlobalScope | Scriptable getGlobalScope()(Code) | | Returns the top-level scope.
|
getNativeInterpreter | public Object getNativeInterpreter()(Code) | | Returns the native interpreter, or null if it is not initialized
or destroyed.
From application's standpoint, it never returns null, and the returned
object must be an instance of
org.mozilla.javascript.Scriptable since: 3.0.2 |
Fields inherited from org.zkoss.zk.scripting.util.GenericInterpreter | final public static Object UNDEFINED(Code)(Java Doc)
|
Methods inherited from org.zkoss.zk.scripting.util.GenericInterpreter | protected void afterExec()(Code)(Java Doc) protected void afterInterpret(Namespace ns)(Code)(Java Doc) protected void beforeExec()(Code)(Java Doc) protected void beforeInterpret(Namespace ns)(Code)(Java Doc) protected boolean contains(String name)(Code)(Java Doc) protected boolean contains(Namespace ns, String name)(Code)(Java Doc) public boolean containsVariable(String name)(Code)(Java Doc) public boolean containsVariable(Namespace ns, String name)(Code)(Java Doc) public void destroy()(Code)(Java Doc) abstract protected void exec(String script)(Code)(Java Doc) protected Object get(String name)(Code)(Java Doc) protected Object get(Namespace ns, String name)(Code)(Java Doc) public Class getClass(String clsnm)(Code)(Java Doc) protected Namespace getCurrent()(Code)(Java Doc) protected Object getFromNamespace(String name)(Code)(Java Doc) protected Object getFromNamespace(Namespace ns, String name)(Code)(Java Doc) public Function getFunction(String name, Class[] argTypes)(Code)(Java Doc) public Function getFunction(Namespace ns, String name, Class[] argTypes)(Code)(Java Doc) public String getLanguage()(Code)(Java Doc) public Page getOwner()(Code)(Java Doc) public Object getVariable(String name)(Code)(Java Doc) public Object getVariable(Namespace ns, String name)(Code)(Java Doc) public void init(Page owner, String zslang)(Code)(Java Doc) public void interpret(String script, Namespace ns)(Code)(Java Doc) protected void set(String name, Object value)(Code)(Java Doc) protected void set(Namespace ns, String name, Object value)(Code)(Java Doc) final public void setVariable(String name, Object value)(Code)(Java Doc) final public void setVariable(Namespace ns, String name, Object value)(Code)(Java Doc) protected void unset(String name)(Code)(Java Doc) protected void unset(Namespace ns, String name)(Code)(Java Doc) final public void unsetVariable(String name)(Code)(Java Doc) final public void unsetVariable(Namespace ns, String name)(Code)(Java Doc)
|
|
|