Class ScriptEvaluator

All Implemented Interfaces:
ICookable, IMultiCookable, IScriptEvaluator

public class ScriptEvaluator extends MultiCookable implements IScriptEvaluator
To set up a ScriptEvaluator object, proceed as described for IScriptEvaluator. Alternatively, a number of "convenience constructors" exist that execute the described steps instantly.

Alternatively, a number of "convenience constructors" exist that execute the steps described above instantly. Their use is discouraged.

Notice that this implementation of IClassBodyEvaluator is prone to "Java injection", i.e. an application could get more than one class body compiled by passing a bogus input document.

Also notice that the parsing of leading IMPORT declarations is heuristic and has certain limitations; see ClassBodyEvaluator.parseImportDeclarations(Reader).