Searched refs:oldChild (Results 1 – 1 of 1) sorted by relevance
170 public Node removeChild(Node oldChild) throws DOMException { in removeChild() argument171 if (mChildNodes.contains(oldChild)) { in removeChild()172 mChildNodes.remove(oldChild); in removeChild()173 ((NodeImpl)oldChild).setParentNode(null); in removeChild()180 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { in replaceChild() argument181 if (mChildNodes.contains(oldChild)) { in replaceChild()188 mChildNodes.setElementAt(newChild, mChildNodes.indexOf(oldChild)); in replaceChild()190 ((NodeImpl)oldChild).setParentNode(null); in replaceChild()194 return oldChild; in replaceChild()