Lines Matching refs:name
81 public Object getAttribute(String name) {
82 if (engineScope.containsKey(name)) {
83 return getAttribute(name, ENGINE_SCOPE);
84 } else if (appScope.containsKey(name)) {
85 return getAttribute(name, APP_SCOPE);
86 } else if (globalScope != null && globalScope.containsKey(name)) {
87 return getAttribute(name, GLOBAL_SCOPE);
93 public Object getAttribute(String name, int scope) {
97 return appScope.get(name);
100 return engineScope.get(name);
104 return globalScope.get(name);
113 public Object removeAttribute(String name, int scope) {
118 return getBindings(APP_SCOPE).remove(name);
125 return getBindings(ENGINE_SCOPE).remove(name);
131 return getBindings(GLOBAL_SCOPE).remove(name);
140 public void setAttribute(String name, Object value, int scope) {
144 appScope.put(name, value);
148 engineScope.put(name, value);
153 globalScope.put(name, value);
186 public int getAttributesScope(String name) {
187 if (engineScope.containsKey(name)) {
189 } else if (appScope.containsKey(name)) {
191 } else if (globalScope != null && globalScope.containsKey(name)) {