jdk/src/java.scripting/share/classes/javax/script/SimpleScriptContext.java
changeset 28059 e576535359cc
parent 25859 3317bb8137f4
child 30647 58e2d299805b
equal deleted inserted replaced
28058:87940c838900 28059:e576535359cc
   130      * Retrieves the value of the attribute with the given name in
   130      * Retrieves the value of the attribute with the given name in
   131      * the scope occurring earliest in the search order.  The order
   131      * the scope occurring earliest in the search order.  The order
   132      * is determined by the numeric value of the scope parameter (lowest
   132      * is determined by the numeric value of the scope parameter (lowest
   133      * scope values first.)
   133      * scope values first.)
   134      *
   134      *
   135      * @param name The name of the the attribute to retrieve.
   135      * @param name The name of the attribute to retrieve.
   136      * @return The value of the attribute in the lowest scope for
   136      * @return The value of the attribute in the lowest scope for
   137      * which an attribute with the given name is defined.  Returns
   137      * which an attribute with the given name is defined.  Returns
   138      * null if no attribute with the name exists in any scope.
   138      * null if no attribute with the name exists in any scope.
   139      * @throws NullPointerException if the name is null.
   139      * @throws NullPointerException if the name is null.
   140      * @throws IllegalArgumentException if the name is empty.
   140      * @throws IllegalArgumentException if the name is empty.