Class VelocityScriptEngine

java.lang.Object
javax.script.AbstractScriptEngine
org.apache.velocity.script.VelocityScriptEngine
All Implemented Interfaces:
Compilable, ScriptEngine

public class VelocityScriptEngine extends AbstractScriptEngine implements Compilable
  • Field Details

    • VELOCITY_PROPERTIES_KEY

      public static final String VELOCITY_PROPERTIES_KEY
      Key used to provide this engine with the pathname of the Velocity properties file. This key is first searched in the ScriptContext attributes, then as a System property
      See Also:
  • Constructor Details

    • VelocityScriptEngine

      public VelocityScriptEngine(ScriptEngineFactory factory)
      constructs a new Velocity script engine, linked to the given factory
      Parameters:
      factory -
    • VelocityScriptEngine

      public VelocityScriptEngine()
      constructs a new standalone Velocity script engine
  • Method Details