Searched refs:scope (Results 1 - 25 of 160) sorted by relevance

1234567

/openjdk7/jaxp/src/com/sun/xml/internal/stream/dtd/nonvalidating/
H A DXMLElementDecl.java47 /** scope */
48 public int scope = -1; field in class:XMLElementDecl
61 * @param scope
66 public void setValues(QName name, int scope, short type, XMLSimpleType simpleType) { argument
68 this.scope = scope;
79 this.scope = -1;
/openjdk7/jdk/src/share/classes/sun/reflect/generics/scope/
H A DScope.java26 package sun.reflect.generics.scope;
H A DConstructorScope.java26 package sun.reflect.generics.scope;
32 * This class represents the scope containing the type variables of
43 // derive enclosing scope.
50 * @return the enclosing scope
53 // the enclosing scope of a (generic) constructor is the scope of the
60 * scope for it.
61 * @param m - A Constructor whose scope we want to obtain
62 * @return The type-variable scope for the constructor m
H A DDummyScope.java26 package sun.reflect.generics.scope;
32 * We cannot use <tt>null</tt> to represent such a scope, since the
33 * enclosing scope is computed lazily, and so the field storing it is
35 * to represent an as-yet-uncomputed scope, and cannot be used for any
36 * other kind of scope.
55 * Lookup a type variable in the scope, using its name. Always returns
H A DMethodScope.java26 package sun.reflect.generics.scope;
32 * This class represents the scope containing the type variables of
43 // derive enclosing scope.
50 * @return the enclosing scope
53 // the enclosing scope of a (generic) method is the scope of the
60 * scope for it.
61 * @param m - A Method whose scope we want to obtain
62 * @return The type-variable scope for the method m
/openjdk7/langtools/test/tools/javac/annotations/neg/
H A DScope.java27 * @summary name lookup scope for annotations
33 package annotation.scope;
35 @A(red) // error: red not in scope.
/openjdk7/jdk/src/share/classes/java/security/
H A DIdentityScope.java33 * <p>This class represents a scope for identities. It is an Identity
34 * itself, and therefore has a name and can have a scope. It can also
45 * there can only be one copy of one key per scope. For example, suppose
48 * associated certificates. It is named in the scope using the name
49 * "Acme Software". No other named Identity in the scope has the same
70 /* The system's scope */
71 private static IdentityScope scope; field in class:IdentityScope
73 // initialize the system scope
79 return Security.getProperty("system.scope");
91 //Security.error("unable to establish a system scope fro
124 IdentityScope(String name, IdentityScope scope) argument
162 setSystemScope(IdentityScope scope) argument
[all...]
H A DIdentity.java39 * specified to have a particular scope, then the name and public
40 * key of the Identity are unique within that scope.
87 * The scope of the identity.
91 IdentityScope scope; field in class:Identity
108 * Constructs an identity with the specified name and scope.
111 * @param scope the scope of the identity.
114 * with the same name in the scope.
116 public Identity(String name, IdentityScope scope) throws argument
119 if (scope !
[all...]
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DJavaAdapter.java55 static void init(Context cx, Scriptable scope, boolean sealed) argument
57 RhinoTopLevel topLevel = (RhinoTopLevel) scope;
60 obj.setParentScope(scope);
61 obj.setPrototype(getFunctionPrototype(scope));
74 public Object call(Context cx, Scriptable scope, Scriptable thisObj, argument
76 return construct(cx, scope, args);
79 public Scriptable construct(Context cx, Scriptable scope, Object[] args) argument
98 Scriptable topLevel = ScriptableObject.getTopLevelScope(scope);
H A DRhinoWrapFactory.java59 RhinoJavaObject(Scriptable scope, Object obj, Class type) { argument
63 super(scope, null, type);
71 public Scriptable wrapAsJavaObject(Context cx, Scriptable scope, argument
82 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
104 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
143 return new RhinoJavaObject(scope, javaObject, type);
145 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DJAXBElement.java41 * <li><b><tt>scope</tt></b> of element declaration</li>
45 * <p>The <tt>declaredType</tt> and <tt>scope</tt> property are the
75 * - local element declaration has a scope set to the Java class
79 final protected Class scope; field in class:JAXBElement
89 * Designates global scope for an xml element.
98 * @param scope
99 * Java binding of scope of xml element declaration.
108 Class scope,
113 if(scope==null) scope
106 JAXBElement(QName name, Class<T> declaredType, Class scope, T value) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DAttrContext.java41 /** The scope of local symbols.
43 Scope scope = null; field in class:AttrContext
74 /** Duplicate this context, replacing scope field and copying all others.
76 AttrContext dup(Scope scope) { argument
78 info.scope = scope;
92 return dup(scope);
96 if (scope == null)
98 return scope.getElements();
102 return "AttrContext[" + scope
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLElementDecl.java97 /** scope */
98 public int scope = -1; field in class:XMLElementDecl
117 * @param scope
122 public void setValues(QName name, int scope, short type, ContentModelValidator contentModelValidator, XMLSimpleType simpleType) { argument
124 this.scope = scope;
136 this.scope = -1;
/openjdk7/jdk/src/share/classes/javax/script/
H A DScriptContext.java33 * 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); argument
75 * Gets the <code>Bindings</code> associated with the given scope i
84 getBindings(int scope) argument
97 setAttribute(String name, Object value, int scope) argument
111 getAttribute(String name, int scope) argument
124 removeAttribute(String name, int scope) argument
[all...]
H A DSimpleScriptContext.java71 * This is the engine scope bindings.
79 * This is the global scope bindings.
80 * By default, a null value (which means no global scope) is used. Accessor
95 * Sets a <code>Bindings</code> of attributes for the given scope. If the value
96 * of scope is <code>ENGINE_SCOPE</code> the given <code>Bindings</code> replaces the
98 * of scope is <code>GLOBAL_SCOPE</code> the given <code>Bindings</code> replaces the
102 * @param scope The value of the scope in which the attributes are set.
104 * @throws IllegalArgumentException if scope is invalid.
105 * @throws NullPointerException if the value of scope i
108 setBindings(Bindings bindings, int scope) argument
162 getAttribute(String name, int scope) argument
191 removeAttribute(String name, int scope) argument
223 setAttribute(String name, Object value, int scope) argument
300 getBindings(int scope) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DFilteredMemberList.java48 private final Scope scope; field in class:FilteredMemberList
50 public FilteredMemberList(Scope scope) { argument
51 this.scope = scope;
56 for (Scope.Entry e = scope.elems; e != null; e = e.sibling) {
64 for (Scope.Entry e = scope.elems; e != null; e = e.sibling) {
76 private Scope.Entry nextEntry = scope.elems;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/jaxws/
H A DBuilderHandlerMessageScope.java48 private final Scope scope; field in class:BuilderHandlerMessageScope
62 , Scope scope
69 this.scope = scope;
92 result = result && ((this.scope == null) ? ((that.scope == null) ? true : false) :this.scope.equals(that.scope));
94 if (this.scope != Scope.FaultMessageScope) {
108 hashCode = 31 * hashCode + (scope
[all...]
/openjdk7/langtools/test/tools/javac/generics/
H A DTyparamStaticScope.java33 package typaram.static_.scope;
/openjdk7/jdk/src/share/classes/javax/naming/event/
H A DEventContext.java39 * to as the <em>target</em>. The target, along with the scope, identify
70 * along with the scope parameter, are used to identify
166 * when the object(s) identified by a target and scope changes.
172 * <tt>scope</tt> affects the registration.
174 * <tt>target</tt> needs to name a context only when <tt>scope</tt> is
176 * <tt>target</tt> may name a non-context if <tt>scope</tt> is either
193 * @param scope One of <tt>OBJECT_SCOPE</tt>, <tt>ONELEVEL_SCOPE</tt>, or
200 void addNamingListener(Name target, int scope, NamingListener l) argument
205 * when the object named by the string target name and scope changes.
211 * @param scope On
218 addNamingListener(String target, int scope, NamingListener l) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DContextEnumerator.java46 private int scope = SearchControls.SUBTREE_SCOPE; field in class:ContextEnumerator
53 public ContextEnumerator(Context context, int scope) argument
56 this(context, scope, "", scope != SearchControls.ONELEVEL_SCOPE);
59 protected ContextEnumerator(Context context, int scope, String contextName, argument
69 if (scope != SearchControls.OBJECT_SCOPE) {
72 this.scope = scope;
86 protected ContextEnumerator newEnumerator(Context ctx, int scope, argument
88 return new ContextEnumerator(ctx, scope, contextNam
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/RhinoScriptEngineProxy/src/com/sun/hotspot/igv/rhino/
H A DRhinoScriptEngine.java71 Object scope = importer.newInstance(cx);
72 scope_put.invoke(scope, "IO", scope, System.out);
73 scope_put.invoke(scope, "graph", scope, d);
74 cx_evaluateString.invoke(cx, scope, jsHelperText, "jsHelper.js", 1, null);
75 cx_evaluateString.invoke(cx, scope, code, "<cmd>", 1, null);
/openjdk7/jdk/test/javax/script/
H A DMyContext.java57 public void setBindings(Bindings bindings, int scope) { argument
59 switch (scope) {
62 throw new NullPointerException("App scope cannot be null.");
69 throw new NullPointerException("Engine scope cannot be null.");
77 throw new IllegalArgumentException("Invalid scope value.");
93 public Object getAttribute(String name, int scope) { argument
95 switch (scope) {
109 throw new IllegalArgumentException("Illegal scope value.");
113 public Object removeAttribute(String name, int scope) { argument
115 switch (scope) {
140 setAttribute(String name, Object value, int scope) argument
198 getBindings(int scope) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/annotation/spec/
H A DXmlElementDeclWriter.java39 XmlElementDeclWriter scope(Class value); method in interface:XmlElementDeclWriter
41 XmlElementDeclWriter scope(JType value); method in interface:XmlElementDeclWriter
/openjdk7/jdk/src/share/classes/javax/naming/directory/
H A DSearchControls.java31 * factors that determine scope of search and what gets returned
98 * Contains the scope with which to apply the search. One of
164 * @param scope The search scope. One of:
177 public SearchControls(int scope, argument
183 searchScope = scope;
192 * Retrieves the search scope of these SearchControls.
196 * @return The search scope of this SearchControls.
261 * Sets the search scope to one of:
263 * @param scope Th
266 setSearchScope(int scope) argument
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvframe_hp.cpp50 // Natives has no scope
51 if (scope() == NULL) return new StackValueCollection(0);
52 GrowableArray<ScopeValue*>* scv_list = scope()->locals();
166 // Natives has no scope
167 if (scope() == NULL) return new StackValueCollection(0);
168 GrowableArray<ScopeValue*>* scv_list = scope()->expressions();
196 // Natives has no scope
197 if (scope() == NULL) {
215 GrowableArray<MonitorValue*>* monitors = scope()->monitors();
245 // native wrappers have no scope dat
251 compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, ScopeDesc* scope) argument
[all...]

Completed in 390 milliseconds

1234567