|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.script.NotPreCompiled
public class NotPreCompiled
Provide an Evaluatable for a not compile ScriptEngine.
| Constructor Summary | |
|---|---|
NotPreCompiled(ScriptEngine engine,
Reader reader)
|
|
| Method Summary | |
|---|---|
Object |
eval()
Evaluate the evaluatable. |
Object |
get(String key)
Get a bean from the engines bindings. |
void |
put(String key,
Object value)
Add a bean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotPreCompiled(ScriptEngine engine,
Reader reader)
| Method Detail |
|---|
public Object eval()
throws ScriptException
Evaluatable
eval in interface EvaluatableScriptExceptionpublic Object get(String key)
Evaluatable
get in interface Evaluatablekey - The scripts variable name.
public void put(String key,
Object value)
Evaluatable
put in interface Evaluatable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||