Home
last modified time | relevance | path

Searched refs:getAttribute (Results 1 – 25 of 50) sorted by relevance

12

/libcore/luni/src/test/java/libcore/xml/
DJaxenXPathTestSuite.java90 String url = document.getAttribute("url"); in suite()
119 String select = element.getAttribute("select"); in contextToTestSuite()
152 final String select = element.getAttribute("select"); in createFromTest()
155 if (element.getAttribute("exception").equals("true")) { in createFromTest()
171 final String valueOfSelect = valueOf.getAttribute("select"); in createFromTest()
184 final String count = element.getAttribute("count"); in createFromTest()
204 final String select = element.getAttribute("select");
292 return element.getAttribute("var:" + variableName.getLocalPart());
DSimpleBuilderTest.java83 assertEquals("eins", one.getAttribute("one")); in testGoodFile1()
84 assertEquals("zwei", two.getAttribute("two")); in testGoodFile1()
85 assertEquals("drei", three.getAttribute("three")); in testGoodFile1()
87 assertEquals("vier", four.getAttribute("t:four")); in testGoodFile1()
DXsltXPathConformanceTestSuite.java208 String category = testCaseElement.getAttribute("category"); in create()
209 String id = testCaseElement.getAttribute("id"); in create()
212 String spec = "place=" + specCitationElement.getAttribute("place") in create()
213 + " type" + specCitationElement.getAttribute("type") in create()
214 + " version=" + specCitationElement.getAttribute("version") in create()
215 + " spec=" + specCitationElement.getAttribute("spec"); in create()
216 String operation = scenarioElement.getAttribute("operation"); in create()
223 String role = element.getAttribute("role"); in create()
257 compareAs = principalElement.getAttribute("compare"); in create()
/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedStringTest.java210 public Object getAttribute(AttributedCharacterIterator.Attribute p) { in getAttribute() method in OldAttributedStringTest.testAttributedCharacterIterator
430 .getAttribute(aci[0]).equals("value1")); in test_getIterator$Ljava_text_AttributedCharacterIterator$Attribute()
432 .getAttribute(aci[1]).equals("value2")); in test_getIterator$Ljava_text_AttributedCharacterIterator$Attribute()
434 .getAttribute(aci[2]) == null); in test_getIterator$Ljava_text_AttributedCharacterIterator$Attribute()
462 .getAttribute(aci[0]) == null); in test_getIterator$Ljava_text_AttributedCharacterIterator$AttributeII()
464 .getAttribute(aci[1]) == null); in test_getIterator$Ljava_text_AttributedCharacterIterator$AttributeII()
466 .getAttribute(aci[2]) == null); in test_getIterator$Ljava_text_AttributedCharacterIterator$AttributeII()
471 .getAttribute(aci[0]).equals("value1")); in test_getIterator$Ljava_text_AttributedCharacterIterator$AttributeII()
473 .getAttribute(aci[1]).equals("value2")); in test_getIterator$Ljava_text_AttributedCharacterIterator$AttributeII()
475 .getAttribute(aci[2]) == null); in test_getIterator$Ljava_text_AttributedCharacterIterator$AttributeII()
DOldAttributedCharacterIteratorTest.java78 it.getAttribute(AttributedCharacterIterator.Attribute.LANGUAGE); in test_getAttributeLAttributedCharacterIterator_Attribute()
82 it.getAttribute(AttributedCharacterIterator.Attribute.READING); in test_getAttributeLAttributedCharacterIterator_Attribute()
85 assertNull(it.getAttribute(AttributedCharacterIterator. in test_getAttributeLAttributedCharacterIterator_Attribute()
/libcore/ojluni/src/main/java/java/util/prefs/
DXmlSupport.java202 doc.getDocumentElement().getAttribute("EXTERNAL_XML_VERSION"); in importPreferences()
222 (xmlRoot.getAttribute("type").equals("user") ? in importPreferences()
338 prefsKids[i-1] = prefsNode.node(xmlKid.getAttribute("name")); in ImportSubtree()
356 prefsNode.put(entry.getAttribute("key"), entry.getAttribute("value")); in ImportPrefs()
404 String mapVersion = xmlMap.getAttribute("MAP_XML_VERSION"); in importMap()
421 m.put(entry.getAttribute("key"), entry.getAttribute("value")); in importMap()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS9Attributes.java264 public PKCS9Attribute getAttribute(ObjectIdentifier oid) { in getAttribute() method in PKCS9Attributes
271 public PKCS9Attribute getAttribute(String name) { in getAttribute() method in PKCS9Attributes
286 attribs[j] = getAttribute(PKCS9Attribute.PKCS9_OIDS[i]); in getAttributes()
300 Object value = getAttribute(oid).getValue(); in getAttributeValue()
334 value = getAttribute(PKCS9Attribute.PKCS9_OIDS[i]); in toString()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Ddocumentcreateelementcasesensitive.java75 attribute1 = newElement1.getAttribute("district"); in runTest()
76 attribute2 = newElement2.getAttribute("county"); in runTest()
Dhc_documentcreateelementcasesensitive.java79 attribute1 = newElement1.getAttribute("lang"); in runTest()
80 attribute2 = newElement2.getAttribute("title"); in runTest()
Dhc_elementaddnewattribute.java73 attrValue = testEmployee.getAttribute("lang"); in runTest()
Dhc_elementremoveattribute.java69 attrValue = testEmployee.getAttribute("class"); in runTest()
Delementretrieveattrvalue.java70 attrValue = testAddress.getAttribute("street"); in runTest()
Delementaddnewattribute.java73 attrValue = testEmployee.getAttribute("district"); in runTest()
Delementchangeattributevalue.java76 attrValue = testEmployee.getAttribute("street"); in runTest()
Dhc_elementchangeattributevalue.java75 attrValue = testEmployee.getAttribute("class"); in runTest()
Dhc_elementretrieveattrvalue.java69 attrValue = testAddress.getAttribute("class"); in runTest()
Delementreplaceexistingattribute.java79 name = testEmployee.getAttribute("street"); in runTest()
Delementgetelementempty.java79 attrValue = testEmployee.getAttribute("district"); in runTest()
Dhc_elementgetelementempty.java79 attrValue = testEmployee.getAttribute("lang"); in runTest()
Dhc_elementreplaceexistingattribute.java78 strong = testEmployee.getAttribute("class"); in runTest()
Delementremoveattribute.java82 attrValue = testEmployee.getAttribute("street"); in runTest()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderServiceTest.java93 s.getAttribute(null); in testGetAttribute()
98 if (s.getAttribute("aaa") != null) { in testGetAttribute()
108 if (s.getAttribute("bbb") != null) { in testGetAttribute()
111 if (!s.getAttribute("attribute").equals("value")) { in testGetAttribute()
114 if (!s.getAttribute("KeySize").equals("1024")) { in testGetAttribute()
/libcore/ojluni/src/main/java/java/text/
DAttributedString.java277 Object value = text.getAttribute(attributeKey); in AttributedString()
611 private synchronized Object getAttribute(Attribute attribute, int runIndex) { in getAttribute() method in AttributedString
628 Object value = getAttribute(attribute, runIndex); in getAttributeCheckRange()
635 valuesMatch(value, getAttribute(attribute, currIndex - 1))) { in getAttributeCheckRange()
649 valuesMatch(value, getAttribute(attribute, currIndex + 1))) { in getAttributeCheckRange()
669 if (!valuesMatch(getAttribute(key, runIndex1), getAttribute(key, runIndex2))) { in attributeValuesMatch()
881 Object value = getAttribute(attribute); in getRunStart()
885 … valuesMatch(value, AttributedString.this.getAttribute(attribute, runIndex - 1))) { in getRunStart()
922 Object value = getAttribute(attribute); in getRunLimit()
926 … valuesMatch(value, AttributedString.this.getAttribute(attribute, runIndex + 1))) { in getRunLimit()
[all …]
/libcore/ojluni/src/main/java/java/nio/file/
DFileStore.java220 public abstract Object getAttribute(String attribute) throws IOException; in getAttribute() method in FileStore
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java153 assertEquals(attr.value(), Files.getAttribute(filesSetup.getTestPath(), attr.name())); in test_createFile$String$Attr()
161 assertEquals(attr1.value(), Files.getAttribute(filePath2, attr.name())); in test_createFile$String$Attr()
205 assertEquals(attr.value(), Files.getAttribute(dirPath, attr.name())); in test_createDirectories$Path$Attr()
213 assertEquals(attr.value(), Files.getAttribute(dirPath, attr.name())); in test_createDirectories$Path$Attr()
219 assertEquals(attr1.value(), Files.getAttribute(dirPath2, attr.name())); in test_createDirectories$Path$Attr()

12