Class VelocityCompiledScript


  • public class VelocityCompiledScript
    extends javax.script.CompiledScript
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object eval​(javax.script.ScriptContext scriptContext)  
      javax.script.ScriptEngine getEngine()  
      • Methods inherited from class javax.script.CompiledScript

        eval, eval
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • template

        protected org.apache.velocity.Template template
    • Constructor Detail

      • VelocityCompiledScript

        public VelocityCompiledScript​(VelocityScriptEngine e,
                                      org.apache.velocity.Template t)
    • Method Detail

      • eval

        public java.lang.Object eval​(javax.script.ScriptContext scriptContext)
                              throws javax.script.ScriptException
        Specified by:
        eval in class javax.script.CompiledScript
        Throws:
        javax.script.ScriptException
      • getEngine

        public javax.script.ScriptEngine getEngine()
        Specified by:
        getEngine in class javax.script.CompiledScript