public class VelocityCompiledScript
extends javax.script.CompiledScript
Modifier and Type | Field and Description |
---|---|
protected VelocityScriptEngine |
engine |
protected Template |
template |
Constructor and Description |
---|
VelocityCompiledScript(VelocityScriptEngine e,
Template t) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
eval(javax.script.ScriptContext scriptContext) |
javax.script.ScriptEngine |
getEngine() |
protected VelocityScriptEngine engine
protected Template template
public VelocityCompiledScript(VelocityScriptEngine e, Template t)
public java.lang.Object eval(javax.script.ScriptContext scriptContext) throws javax.script.ScriptException
eval
in class javax.script.CompiledScript
javax.script.ScriptException
public javax.script.ScriptEngine getEngine()
getEngine
in class javax.script.CompiledScript