Package org.apache.velocity.script
Class VelocityCompiledScript
- java.lang.Object
-
- javax.script.CompiledScript
-
- org.apache.velocity.script.VelocityCompiledScript
-
public class VelocityCompiledScript extends CompiledScript
-
-
Field Summary
Fields Modifier and Type Field Description protected VelocityScriptEngine
engine
protected Template
template
-
Constructor Summary
Constructors Constructor Description VelocityCompiledScript(VelocityScriptEngine e, Template t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eval(ScriptContext scriptContext)
ScriptEngine
getEngine()
-
Methods inherited from class javax.script.CompiledScript
eval, eval
-
-
-
-
Field Detail
-
engine
protected VelocityScriptEngine engine
-
template
protected Template template
-
-
Constructor Detail
-
VelocityCompiledScript
public VelocityCompiledScript(VelocityScriptEngine e, Template t)
-
-
Method Detail
-
eval
public Object eval(ScriptContext scriptContext) throws ScriptException
- Specified by:
eval
in classCompiledScript
- Throws:
ScriptException
-
getEngine
public ScriptEngine getEngine()
- Specified by:
getEngine
in classCompiledScript
-
-