Lines Matching refs:scope

33  * with objects, such as scoped Bindings, in hosting applications.  Each scope is a set
58 * Associates a <code>Bindings</code> instance with a particular scope in this
61 * <code>put</code> methods of the <code>Bindings</code> for the specified scope.
63 * @param bindings The <code>Bindings</code> to associate with the given scope
64 * @param scope The scope
67 * specified scope value in ScriptContexts of this type.
68 * @throws NullPointerException if value of scope is <code>ENGINE_SCOPE</code> and
72 public void setBindings(Bindings bindings, int scope);
75 * Gets the <code>Bindings</code> associated with the given scope in this
82 * specified scope value in <code>ScriptContext</code> of this type.
84 public Bindings getBindings(int scope);
87 * Sets the value of an attribute in a given scope.
91 * @param scope The scope in which to set the attribute
94 * if the name is empty or if the scope is invalid.
97 public void setAttribute(String name, Object value, int scope);
100 * Gets the value of an attribute in a given scope.
103 * @param scope The scope in which to retrieve the attribute.
105 * does not exist in the given scope.
108 * if the name is empty or if the value of scope is invalid.
111 public Object getAttribute(String name, int scope);
114 * Remove an attribute in a given scope.
117 * @param scope The scope in which to remove the attribute
121 * if the name is empty or if the scope is invalid.
124 public Object removeAttribute(String name, int scope);
128 * the scope occurring earliest in the search order. The order
129 * is determined by the numeric value of the scope parameter (lowest
130 * scope values first.)
133 * @return The value of the attribute in the lowest scope for
135 * null if no attribute with the name exists in any scope.
143 * Get the lowest scope in which an attribute is defined.
146 * @return The lowest scope. Returns -1 if no attribute with the given
147 * name is defined in any scope.
201 * scope in the ScriptContext.
203 * @return list of scope values