Home
last modified time | relevance | path

Searched refs:setAttribute (Results 1 – 25 of 43) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/prefs/
DXmlSupport.java104 preferences.setAttribute("EXTERNAL_XML_VERSION", EXTERNAL_XML_VERSION); in export()
107 xmlRoot.setAttribute("type", (p.isUserNode() ? "user" : "system")); in export()
120 e.setAttribute("name", ancestors.get(i).name()); in export()
161 entry.setAttribute("key", keys[i]); in putPreferencesInXml()
163 entry.setAttribute("value", prefs.get(keys[i], null)); in putPreferencesInXml()
180 xmlKid.setAttribute("name", kidNames[i]); in putPreferencesInXml()
280 tf.setAttribute("indent-number", new Integer(2)); in writeDoc()
393 xmlMap.setAttribute("MAP_XML_VERSION", MAP_XML_VERSION); in exportMap()
399 xe.setAttribute("key", e.getKey()); in exportMap()
400 xe.setAttribute("value", e.getValue()); in exportMap()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Ddocumentcreateelementcasesensitive.java73 newElement1.setAttribute("district", "Fort Worth"); in runTest()
74 newElement2.setAttribute("county", "Dallas"); in runTest()
Dhc_documentcreateelementcasesensitive.java77 newElement1.setAttribute("lang", "EN"); in runTest()
78 newElement2.setAttribute("title", "Dallas"); in runTest()
Delementaddnewattribute.java72 testEmployee.setAttribute("district", "dallas"); in runTest()
Dhc_elementaddnewattribute.java72 testEmployee.setAttribute("lang", "EN-us"); in runTest()
Delementchangeattributevalue.java75 testEmployee.setAttribute("street", "Neither"); in runTest()
Dhc_elementchangeattributevalue.java74 testEmployee.setAttribute("class", "Neither"); in runTest()
Dhc_elementinvalidcharacterexception.java75 testAddress.setAttribute("invalid^Name", "value"); in runTest()
Dhc_elementinvalidcharacterexception1.java70 testAddress.setAttribute("", "value"); in runTest()
Delementinvalidcharacterexception.java77 testAddress.setAttribute("invalid^Name", "value"); in runTest()
Dhc_attrspecifiedvaluechanged.java74 …((Element) /*Node */testNode).setAttribute("class", "Y\u03b1"); // Android-changed: GREEK LOWER CA… in runTest()
Dattrspecifiedvaluechanged.java75 ((Element) /*Node */testNode).setAttribute("street", "Yes"); in runTest()
Dattrcreatedocumentfragment.java74 newOne.setAttribute("newdomestic", "Yes"); in runTest()
DelementsetattributenomodificationallowederrEE.java85 entElement.setAttribute("newAttr", "newValue"); in runTest()
Dhc_attrcreatedocumentfragment.java76 newOne.setAttribute("lang", "EN"); in runTest()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractFileSystemProvider.java67 public final void setAttribute(Path file, in setAttribute() method in AbstractFileSystemProvider
79 view.setAttribute(s[1], value); in setAttribute()
DDynamicFileAttributeView.java40 void setAttribute(String attribute, Object value) throws IOException; in setAttribute() method
DUnixFileAttributeViews.java167 public void setAttribute(String attribute, Object value) in setAttribute() method in UnixFileAttributeViews.Posix
182 super.setAttribute(attribute, value); in setAttribute()
321 public void setAttribute(String attribute, Object value) in setAttribute() method in UnixFileAttributeViews.Unix
336 super.setAttribute(attribute, value); in setAttribute()
DFileOwnerAttributeViewImpl.java61 public void setAttribute(String attribute, Object value) in setAttribute() method in FileOwnerAttributeViewImpl
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java124 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_move_CopyOption()
290 Files.setAttribute(filesSetup.getDataFilePath(), "dos:hidden", true); in test_isHidden()
340 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_readAttributes()
374 provider.setAttribute(filesSetup.getTestPath(), "basic:lastModifiedTime", fileTime); in test_setAttribute()
380 provider.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", 10); in test_setAttribute()
386 provider.setAttribute(filesSetup.getDataFilePath(), "xyz", 10); in test_setAttribute()
391 provider.setAttribute(null, "xyz", 10); in test_setAttribute()
396 provider.setAttribute(filesSetup.getDataFilePath(), null, 10); in test_setAttribute()
530 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); in test_newFileChannel_withFileAttributes()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDocumentBuilderSettingStrategy.java122 factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
124 factory.setAttribute(JAXP_SCHEMA_LANGUAGE,
/libcore/dom/src/test/java/org/w3c/domts/
DDocumentBuilderSettingStrategy.java161 factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
164 factory.setAttribute(JAXP_SCHEMA_LANGUAGE,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributesImplTest.java297 multi.setAttribute(0, "http://yet.another.uri", "doe", "john:doe", in testSetAttribute()
306 multi.setAttribute(1, null, null, null, null, null); in testSetAttribute()
315 multi.setAttribute(-1, "http://yet.another.uri", "doe", "john:doe", in testSetAttribute()
323 multi.setAttribute(5, "http://yet.another.uri", "doe", "john:doe", in testSetAttribute()
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java68 Files.setAttribute(file, "posix:permissions", perms); in testPermissions()
261 Files.setAttribute(file, "posix:owner", owner); in ownerTests()
263 Files.setAttribute(file, "posix:group", group); in ownerTests()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderFactoryImpl.java84 public void setAttribute(String name, Object value) in setAttribute() method in DocumentBuilderFactoryImpl

12