|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.script.AbstractScriptEngine
php.java.script.SimplePhpScriptEngine
php.java.script.PhpScriptEngine
public class PhpScriptEngine
This class implements the ScriptEngine.
Example:
ScriptEngine e = (new ScriptEngineManager()).getEngineByName("php");
try { e.eval(<?php foo() ?>"); } catch (ScriptException e) { ... }
| Field Summary |
|---|
| Fields inherited from interface javax.script.ScriptEngine |
|---|
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME |
| Constructor Summary | |
|---|---|
PhpScriptEngine()
Create a new ScriptEngine with a default context. |
|
PhpScriptEngine(PhpScriptEngineFactory factory)
Create a new ScriptEngine from a factory. |
|
| Method Summary |
|---|
| Methods inherited from class php.java.script.SimplePhpScriptEngine |
|---|
close, createBindings, eval, eval, getFactory, release |
| Methods inherited from class javax.script.AbstractScriptEngine |
|---|
eval, eval, eval, eval, get, getBindings, getContext, put, setBindings, setContext |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhpScriptEngine()
public PhpScriptEngine(PhpScriptEngineFactory factory)
factory - The factorySimplePhpScriptEngine.getFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||