Home
last modified time | relevance | path

Searched refs:appendChild (Results 1 – 25 of 83) sorted by relevance

1234

/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Dnodenormalize01.java110 appendedChild = documentElement.appendChild(element1); in runTest()
111 appendedChild = element2.appendChild(text1); in runTest()
112 appendedChild = element2.appendChild(text2); in runTest()
113 appendedChild = element2.appendChild(text3); in runTest()
114 appendedChild = element1.appendChild(element2); in runTest()
117 appendedChild = element3.appendChild(entRef); in runTest()
118 appendedChild = element3.appendChild(text1); in runTest()
119 appendedChild = element3.appendChild(text2); in runTest()
120 appendedChild = element1.appendChild(element3); in runTest()
123 appendedChild = element4.appendChild(cData); in runTest()
[all …]
Delementgetelementsbytagnamens04.java89 appendedChild = element.appendChild(child1); in runTest()
90 appendedChild = element.appendChild(child2); in runTest()
91 appendedChild = element.appendChild(child3); in runTest()
Dhc_nodedocumentfragmentnormalize1.java67 retval = docFragment.appendChild(txtNode); in runTest()
69 retval = docFragment.appendChild(txtNode); in runTest()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeNormalize.java128 documentElement.appendChild(element1); in testNormalize()
129 element2.appendChild(text1); in testNormalize()
130 element2.appendChild(text2); in testNormalize()
131 element2.appendChild(text3); in testNormalize()
132 element1.appendChild(element2); in testNormalize()
135 element3.appendChild(entRef); in testNormalize()
136 element3.appendChild(text1); in testNormalize()
137 element3.appendChild(text2); in testNormalize()
138 element1.appendChild(element3); in testNormalize()
141 element4.appendChild(cData); in testNormalize()
[all …]
DHCNodeDocumentFragmentNormalize.java59 retval = docFragment.appendChild(txtNode); in testNodeDocumentFragmentNormalize1()
61 retval = docFragment.appendChild(txtNode); in testNodeDocumentFragmentNormalize1()
77 docFragment.appendChild(txtNode); in testNodeDocumentFragmentNormalize2()
DElementGetElementsByTagNameNS.java77 element.appendChild(child1); in testGetElementsByTagNameNS4()
78 element.appendChild(child2); in testGetElementsByTagNameNS4()
79 element.appendChild(child3); in testGetElementsByTagNameNS4()
/libcore/luni/src/test/java/libcore/xml/
DDomSerializationTest.java47 foo.appendChild(document.createElement("bar")); in testWriteDocument()
48 foo.appendChild(document.createElement("baz")); in testWriteDocument()
49 document.appendChild(foo); in testWriteDocument()
56 foo.appendChild(document.createTextNode("5'8\", 5 < 6 & 7 > 3!")); in testWriteSpecialCharactersInText()
57 document.appendChild(foo); in testWriteSpecialCharactersInText()
DNormalizeTest.java403 document.appendChild(root); in testCommentContainingDoubleDash()
404 root.appendChild(document.createComment("ABC -- DEF")); in testCommentContainingDoubleDash()
423 document.appendChild(root); in testSplittingCdataSectionsSplit()
424 root.appendChild(document.createCDATASection("ABC]]>DEF]]>GHI")); in testSplittingCdataSectionsSplit()
436 document.appendChild(root); in testSplittingCdataSectionsReportError()
437 root.appendChild(document.createCDATASection("ABC]]>DEF")); in testSplittingCdataSectionsReportError()
448 document.appendChild(root); in testInvalidCharactersCdata()
450 root.appendChild(cdata); in testInvalidCharactersCdata()
469 document.appendChild(root); in testInvalidCharactersText()
471 root.appendChild(text); in testInvalidCharactersText()
[all …]
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dhc_attrappendchild3.java78 retval = docFrag.appendChild(terNode); in runTest()
79 retval = docFrag.appendChild(dayNode); in runTest()
80 retval = titleAttr.appendChild(docFrag); in runTest()
Dnodeappendchilddocfragment.java92 appendedChild = newdocFragment.appendChild(newChild1); in runTest()
93 appendedChild = newdocFragment.appendChild(newChild2); in runTest()
94 appendedChild = employeeNode.appendChild(newdocFragment); in runTest()
Dhc_nodeappendchilddocfragment.java96 appendedChild = newdocFragment.appendChild(newChild1); in runTest()
97 appendedChild = newdocFragment.appendChild(newChild2); in runTest()
98 appendedChild = employeeNode.appendChild(newdocFragment); in runTest()
Dhc_elementnormalize.java71 retNode = testName.appendChild(textNode); in runTest()
73 retNode = testName.appendChild(textNode); in runTest()
Dhc_attrnormalize.java75 retval = titleAttr.appendChild(textNode); in runTest()
77 retval = titleAttr.appendChild(textNode); in runTest()
Dhc_nodeinsertbeforedocfragment.java87 appendedChild = newdocFragment.appendChild(newChild1); in runTest()
88 appendedChild = newdocFragment.appendChild(newChild2); in runTest()
Dnodeinsertbeforedocfragment.java87 appendedChild = newdocFragment.appendChild(newChild1); in runTest()
88 appendedChild = newdocFragment.appendChild(newChild2); in runTest()
Dhc_attrreplacechild2.java78 retval = docFrag.appendChild(terNode); in runTest()
79 retval = docFrag.appendChild(dayNode); in runTest()
Dhc_attrinsertbefore4.java80 retval = docFrag.appendChild(terNode); in runTest()
81 retval = docFrag.appendChild(dayNode); in runTest()
Dhc_attrinsertbefore7.java96 retval = docFrag.appendChild(terNode); in runTest()
97 retval = docFrag.appendChild(dayNode); in runTest()
Dhc_attrinsertbefore3.java81 retval = docFrag.appendChild(terNode); in runTest()
82 retval = docFrag.appendChild(dayNode); in runTest()
Dhc_nodeappendchildinvalidnodetype.java80 appendedChild = rootNode.appendChild(newChild); in runTest()
Dnodeappendchildinvalidnodetype.java81 appendedChild = rootNode.appendChild(newChild); in runTest()
DnodeappendchildnomodificationallowederrEE.java78 appendedNode = entRef.appendChild(createdNode); in runTest()
/libcore/ojluni/src/main/java/java/util/
DXMLUtils.java144 doc.appendChild(doc.createElement("properties")); in save()
147 Element comments = (Element)properties.appendChild( in save()
149 comments.appendChild(doc.createTextNode(comment)); in save()
154 Element entry = (Element)properties.appendChild( in save()
157 entry.appendChild(doc.createTextNode(props.getProperty(key))); in save()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java202 node.appendChild(document.createProcessingInstruction(target, in parse()
208 document.appendChild(new DocumentTypeImpl(document, name, publicId, systemId)); in parse()
216 node.appendChild(document.createComment(parser.getText())); in parse()
250 node.appendChild(document.createEntityReference(entity)); in parse()
274 node.appendChild(element); in parse()
307 node.appendChild(element); in parse()
352 parent.appendChild(token == XmlPullParser.CDSECT in appendText()
/libcore/ojluni/src/main/java/java/util/prefs/
DXmlSupport.java106 preferences.appendChild(doc.createElement("root")); in export()
118 e.appendChild(doc.createElement("map")); in export()
119 e = (Element) e.appendChild(doc.createElement("node")); in export()
157 Element map = (Element) elt.appendChild(doc.createElement("map")); in putPreferencesInXml()
160 map.appendChild(doc.createElement("entry")); in putPreferencesInXml()
179 elt.appendChild(doc.createElement("node")); in putPreferencesInXml()
398 xmlMap.appendChild(doc.createElement("entry")); in exportMap()

1234