Lines Matching defs:context

56     protected ScriptContext context;
64 context = new SimpleScriptContext();
70 * <code>ENGINE_SCOPE</code> <code>Bindings</code> in the protected <code>context</code> field.
81 context.setBindings(n, ScriptContext.ENGINE_SCOPE);
85 * Sets the value of the protected <code>context</code> field to the specified
93 throw new NullPointerException("null context");
95 context = ctxt;
99 * Returns the value of the protected <code>context</code> field.
101 * @return The value of the protected <code>context</code> field.
104 return context;
109 * the protected <code>context</code> field.
116 * invalid for the type the protected <code>context</code> field.
121 return context.getBindings(ScriptContext.GLOBAL_SCOPE);
123 return context.getBindings(ScriptContext.ENGINE_SCOPE);
131 * <code>context</code> field.
137 * invalid for the type the <code>context</code> field.
144 context.setBindings(bindings, ScriptContext.GLOBAL_SCOPE);;
146 context.setBindings(bindings, ScriptContext.ENGINE_SCOPE);;
154 * <code>Bindings</code> of the protected <code>context</code> field.
173 * protected <code>context</code> field.
195 * are identical to those members of the protected <code>context</code> field. The specified
198 * <code>Bindings</code> of the <code>context</code> field.
238 * <code>eval(Reader, ScriptContext)</code> passing the value of the <code>context</code>
249 return eval(reader, context);
264 return eval(script, context);
304 ctxt.setReader(context.getReader());
305 ctxt.setWriter(context.getWriter());
306 ctxt.setErrorWriter(context.getErrorWriter());