/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | InnerNodeImpl.java | 51 public Node appendChild(Node newChild) throws DOMException { in appendChild() argument 52 return insertChildAt(newChild, children.size()); in appendChild() 85 public Node insertBefore(Node newChild, Node refChild) throws DOMException { in insertBefore() argument 89 return appendChild(newChild); in insertBefore() 100 return insertChildAt(newChild, refChildImpl.index); in insertBefore() 107 Node insertChildAt(Node newChild, int index) throws DOMException { in insertChildAt() argument 108 if (newChild instanceof DocumentFragment) { in insertChildAt() 109 NodeList toAdd = newChild.getChildNodes(); in insertChildAt() 113 return newChild; in insertChildAt() 116 LeafNodeImpl toInsert = (LeafNodeImpl) newChild; in insertChildAt() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | nodeappendchildchildexists.java | 68 Node newChild; in runTest() local 78 newChild = childNode.getFirstChild(); in runTest() 79 initialName = newChild.getNodeName(); in runTest() 80 appendedChild = childNode.appendChild(newChild); in runTest()
|
D | hc_nodeappendchildinvalidnodetype.java | 71 Node newChild; in runTest() local 75 newChild = doc.createAttribute("newAttribute"); in runTest() 80 appendedChild = rootNode.appendChild(newChild); in runTest()
|
D | nodeappendchildinvalidnodetype.java | 72 Node newChild; in runTest() local 76 newChild = doc.createAttribute("newAttribute"); in runTest() 81 appendedChild = rootNode.appendChild(newChild); in runTest()
|
D | nodeappendchildnodeancestor.java | 70 Node newChild; in runTest() local 75 newChild = doc.getDocumentElement(); in runTest() 82 appendedChild = employeeNode.appendChild(newChild); in runTest()
|
D | nodeappendchildgetnodename.java | 68 Node newChild; in runTest() local 75 newChild = doc.createElement("newChild"); in runTest() 76 appendNode = employeeNode.appendChild(newChild); in runTest()
|
D | hc_nodeappendchildgetnodename.java | 68 Node newChild; in runTest() local 75 newChild = doc.createElement("br"); in runTest() 76 appendNode = employeeNode.appendChild(newChild); in runTest()
|
D | hc_nodeappendchildnodeancestor.java | 68 Node newChild; in runTest() local 75 newChild = doc.getDocumentElement(); in runTest() 82 appendedChild = employeeNode.appendChild(newChild); in runTest()
|
D | hc_nodeinsertbeforerefchildnonexistent.java | 71 Node newChild; in runTest() local 76 newChild = doc.createElement("br"); in runTest() 84 insertedNode = elementNode.insertBefore(newChild, refChild); in runTest()
|
D | nodeinsertbeforeinvalidnodetype.java | 72 Node newChild; in runTest() local 78 newChild = doc.createAttribute("newAttribute"); in runTest() 85 insertedNode = rootNode.insertBefore(newChild, refChild); in runTest()
|
D | nodeinsertbeforerefchildnonexistent.java | 71 Node newChild; in runTest() local 76 newChild = doc.createElement("newChild"); in runTest() 84 insertedNode = elementNode.insertBefore(newChild, refChild); in runTest()
|
D | hc_nodereplacechildnodename.java | 71 Node newChild; in runTest() local 79 newChild = doc.createElement("br"); in runTest() 80 replacedNode = employeeNode.replaceChild(newChild, oldChild); in runTest()
|
D | nodereplacechildinvalidnodetype.java | 72 Node newChild; in runTest() local 78 newChild = doc.createAttribute("newAttribute"); in runTest() 85 replacedChild = rootNode.replaceChild(newChild, oldChild); in runTest()
|
D | nodeappendchildnewchilddiffdocument.java | 73 Node newChild; in runTest() local 79 newChild = doc1.createElement("newChild"); in runTest() 86 appendedChild = elementNode.appendChild(newChild); in runTest()
|
D | hc_nodeappendchildnewchilddiffdocument.java | 72 Node newChild; in runTest() local 78 newChild = doc1.createElement("br"); in runTest() 85 appendedChild = elementNode.appendChild(newChild); in runTest()
|
D | hc_nodereplacechildoldchildnonexistent.java | 69 Node newChild; in runTest() local 74 newChild = doc.createElement("br"); in runTest() 82 replacedNode = elementNode.replaceChild(newChild, oldChild); in runTest()
|
D | hc_nodeinsertbeforenodename.java | 70 Node newChild; in runTest() local 78 newChild = doc.createElement("br"); in runTest() 79 insertedNode = employeeNode.insertBefore(newChild, refChild); in runTest()
|
D | nodeinsertbeforenodename.java | 70 Node newChild; in runTest() local 78 newChild = doc.createElement("newChild"); in runTest() 79 insertedNode = employeeNode.insertBefore(newChild, refChild); in runTest()
|
D | hc_nodereplacechildinvalidnodetype.java | 73 Node newChild; in runTest() local 78 newChild = doc.createAttribute("lang"); in runTest() 86 replacedChild = rootNode.replaceChild(newChild, oldChild); in runTest()
|
D | nodereplacechildoldchildnonexistent.java | 70 Node newChild; in runTest() local 75 newChild = doc.createElement("newChild"); in runTest() 83 replacedNode = elementNode.replaceChild(newChild, oldChild); in runTest()
|
D | hc_nodeinsertbeforeinvalidnodetype.java | 73 Node newChild; in runTest() local 78 newChild = doc.createAttribute("title"); in runTest() 86 insertedNode = rootNode.insertBefore(newChild, refChild); in runTest()
|
D | hc_nodeinsertbeforenewchilddiffdocument.java | 73 Node newChild; in runTest() local 79 newChild = doc1.createElement("br"); in runTest() 87 insertedNode = elementNode.insertBefore(newChild, refChild); in runTest()
|
D | hc_nodeinsertbeforerefchildnull.java | 73 Node newChild; in runTest() local 81 newChild = doc.createElement("br"); in runTest() 82 insertedNode = employeeNode.insertBefore(newChild, refChild); in runTest()
|
D | nodeinsertbeforerefchildnull.java | 73 Node newChild; in runTest() local 81 newChild = doc.createElement("newChild"); in runTest() 82 insertedNode = employeeNode.insertBefore(newChild, refChild); in runTest()
|
D | hc_attrappendchild2.java | 64 Node newChild; in runTest() local 72 newChild = doc.createElement("terday"); in runTest() 77 retval = titleAttr.appendChild(newChild); in runTest()
|