public interface IScriptEngine
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the engine.
|
ICompiledScript |
compile(ScriptContext scriptContext,
java.lang.String fileName,
int lineNumber,
java.lang.String script)
Compiles the script for later execution.
|
java.lang.Object |
evaluate(ScriptContext scriptContext,
ICompiledScript script)
Evaluates a compiled script.
|
IScriptEngineFactory |
getFactory()
Returns the script engine factory which created this engine instance.
|
java.lang.String |
getScriptLanguage()
Returns name of script.
|
void |
setApplicationClassLoader(java.lang.ClassLoader loader)
Sets application class loader.
|
void |
setLocale(java.util.Locale locale)
Sets locale.
|
void |
setTimeZone(TimeZone zone)
Sets time zone.
|
IScriptEngineFactory getFactory()
java.lang.String getScriptLanguage()
java.lang.Object evaluate(ScriptContext scriptContext, ICompiledScript script) throws BirtException
script
- BirtException
ICompiledScript compile(ScriptContext scriptContext, java.lang.String fileName, int lineNumber, java.lang.String script) throws BirtException
script
- id
- lineNumber
- BirtException
void setTimeZone(TimeZone zone)
void setLocale(java.util.Locale locale)
void setApplicationClassLoader(java.lang.ClassLoader loader)
void close()
Copyright © 2014 OpenText Corp. All rights reserved.