Searched refs:getAttribute (Results 1 - 25 of 301) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/script/
H A DTest5.js12 if (context.getAttribute("key", context.GLOBAL_SCOPE ) != null) {
22 if (context.getAttribute("key", context.GLOBAL_SCOPE ) !=
33 if (context.getAttribute("key", context.GLOBAL_SCOPE ) !=
H A DTest3.js6 if (context.getAttribute('key', context.GLOBAL_SCOPE) != 'global value') {
13 if (context.getAttribute('key', context.GLOBAL_SCOPE) != 'global value') {
/openjdk7/jdk/src/share/instrument/
H A DJarFacade.h40 char* getAttribute(const jarAttribute* attributes, const char* name);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DStyleConstants.java285 Integer o = (Integer) a.getAttribute(BidiLevel);
309 return (Component) a.getAttribute(ComponentAttribute);
330 return (Icon) a.getAttribute(IconAttribute);
351 String family = (String) a.getAttribute(FontFamily);
375 Integer size = (Integer) a.getAttribute(FontSize);
399 Boolean bold = (Boolean) a.getAttribute(Bold);
423 Boolean italic = (Boolean) a.getAttribute(Italic);
447 Boolean underline = (Boolean) a.getAttribute(Underline);
461 Boolean strike = (Boolean) a.getAttribute(StrikeThrough);
476 Boolean superscript = (Boolean) a.getAttribute(Superscrip
[all...]
H A DSimpleAttributeSet.java144 public Object getAttribute(Object name) { method in class:SimpleAttributeSet
149 value = parent.getAttribute(name);
164 return value.equals(getAttribute(name));
180 result = attributes.getAttribute(name).equals(getAttribute(name));
205 addAttribute(name, attributes.getAttribute(name));
241 Object value = attributes.getAttribute(name);
242 if (value.equals(getAttribute(name)))
325 Object value = getAttribute(key);
366 public Object getAttribute(Objec method in class:SimpleAttributeSet.EmptyAttributeSet
[all...]
H A DAttributeSet.java132 public Object getAttribute(Object key); method in interface:AttributeSet
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/
H A DBIAttribute.java54 return element.getAttribute("name");
69 String cnv = element.getAttribute("convert");
83 String v = element.getAttribute("collection").trim();
103 String r = DOMUtil.getAttribute(element,"property");
H A DBIInterface.java40 name = DOMUtil.getAttribute(e,"name");
41 members = parseTokens(DOMUtil.getAttribute(e,"members"));
43 if(DOMUtil.getAttribute(e,"properties")!=null) {
44 fields = parseTokens(DOMUtil.getAttribute(e,"properties"));
H A DDOMLocator.java53 if(DOMUtil.getAttribute(e,locationNamespace,systemId)==null)
58 return Integer.parseInt(DOMUtil.getAttribute(e,locationNamespace,line));
61 return Integer.parseInt(DOMUtil.getAttribute(e,locationNamespace,column));
64 return DOMUtil.getAttribute(e,locationNamespace,systemId);
H A DBIContent.java70 String v = DOMUtil.getAttribute(element,"collection");
91 String r = DOMUtil.getAttribute(element,"property");
97 return DOMUtil.getAttribute(element,"name");
110 String type = DOMUtil.getAttribute(element,"supertype");
H A DBIElement.java60 if(DOMUtil.getAttribute(c,"property")!=null) {
83 String className = DOMUtil.getAttribute(e,"class");
166 public String name() { return DOMUtil.getAttribute(e,"name"); }
173 return "class".equals(e.getAttribute("type"));
180 return "true".equals(e.getAttribute("root"));
221 String cnv = DOMUtil.getAttribute(e,"convert");
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/ws/spi/http/
H A DHttpContext.java89 public abstract Object getAttribute(String name); method in class:HttpContext
/openjdk7/jdk/test/java/nio/file/Files/
H A DFileAttributes.java37 * Exercises getAttribute/setAttribute/readAttributes methods.
61 // Exercise getAttribute/setAttribute/readAttributes on basic attributes
65 // getAttribute
66 checkEqual(attrs.size(), Files.getAttribute(file, "size"));
67 checkEqual(attrs.lastModifiedTime(), Files.getAttribute(file, "basic:lastModifiedTime"));
68 checkEqual(attrs.lastAccessTime(), Files.getAttribute(file, "lastAccessTime"));
69 checkEqual(attrs.creationTime(), Files.getAttribute(file, "basic:creationTime"));
70 assertTrue((Boolean)Files.getAttribute(file, "isRegularFile"));
71 assertTrue(!(Boolean)Files.getAttribute(file, "basic:isDirectory"));
72 assertTrue(!(Boolean)Files.getAttribute(fil
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DNamespaceAlias.java45 sPrefix = getAttribute("stylesheet-prefix");
46 rPrefix = getAttribute("result-prefix");
H A DAttribute.java42 _name = parser.getQName(getAttribute("name"));
/openjdk7/jdk/src/share/classes/javax/script/
H A DScriptContext.java59 * <code>ScriptContext</code>. Calls to the <code>getAttribute</code> and
111 public Object getAttribute(String name, int scope); method in interface:ScriptContext
139 public Object getAttribute(String name); method in interface:ScriptContext
H A DSimpleScriptContext.java140 public Object getAttribute(String name) { method in class:SimpleScriptContext
142 return getAttribute(name, ENGINE_SCOPE);
144 return getAttribute(name, GLOBAL_SCOPE);
162 public Object getAttribute(String name, int scope) { method in class:SimpleScriptContext
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOption.java58 selected = (attr.getAttribute(HTML.Attribute.SELECTED) != null);
110 String value = (String) attr.getAttribute(HTML.Attribute.VALUE);
/openjdk7/jdk/src/share/classes/javax/management/
H A DDynamicMBean.java52 public Object getAttribute(String attribute) throws AttributeNotFoundException, method in interface:DynamicMBean
66 * @see #getAttribute
H A DAttributeValueExp.java85 * This method calls {@link #getAttribute getAttribute(name)} and wraps
87 * {@code getAttribute} must be a {@code Number}, {@code String},
105 Object result = getAttribute(name);
157 protected Object getAttribute(ObjectName name) { method in class:AttributeValueExp
163 return server.getAttribute(name, attr);
/openjdk7/jdk/test/java/lang/management/ManagementFactory/
H A DValidateOpenTypes.java95 String type = (String) server.getAttribute(heapPool, "Type");
101 type = (String) server.getAttribute(nonHeapPool, "Type");
110 String[] args = (String[]) server.getAttribute(runtime,
141 server.getAttribute(runtime, "SystemProperties");
182 Object u1 = server.getAttribute(memory, "HeapMemoryUsage");
183 Object u2 = server.getAttribute(memory, "NonHeapMemoryUsage");
184 Object u3 = server.getAttribute(heapPool, "Usage");
185 Object u4 = server.getAttribute(nonHeapPool, "Usage");
194 Object u5 = server.getAttribute(heapPool, "CollectionUsage");
208 long[] ids = (long[]) server.getAttribute(threa
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/digested/
H A DDAnnotation.java164 public Attribute getAttribute( String nsUri, String localName ) { method in class:DAnnotation
165 return getAttribute(new QName(nsUri,localName));
168 public Attribute getAttribute( QName n ) { method in class:DAnnotation
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/wsdl/parser/
H A DParserUtil.java49 public static String getAttribute(XMLStreamReader reader, String name) { method in class:ParserUtil
53 public static String getAttribute(XMLStreamReader reader, String nsUri, String name) { method in class:ParserUtil
57 public static String getAttribute(XMLStreamReader reader, QName name) { method in class:ParserUtil
70 // String value = getAttribute(reader, name);
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/monitoring/
H A DMonitoredObject.java167 public MonitoredAttribute getAttribute(String name); method in interface:MonitoredObject
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileStore.java203 * boolean compression = (Boolean)fs.getAttribute("zfs:compression");
218 public abstract Object getAttribute(String attribute) throws IOException; method in class:FileStore

Completed in 228 milliseconds

1234567891011>>