/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
nodeappendchildnewchilddiffdocument.java | 31 * The "appendChild(newChild)" method raises a 32 * WRONG_DOCUMENT_ERR DOMException if the "newChild" was 73 Node newChild; 79 newChild = doc1.createElement("newChild"); 86 appendedChild = elementNode.appendChild(newChild);
|
nodeinsertbeforeinvalidnodetype.java | 31 * The "insertBefore(newChild,refChild)" method raises a 33 * a type that does not allow children of the type "newChild" 72 Node newChild; 78 newChild = doc.createAttribute("newAttribute"); 85 insertedNode = rootNode.insertBefore(newChild, refChild);
|
nodeinsertbeforenewchilddiffdocument.java | 31 * The "insertBefore(newChild,refChild)" method raises a 32 * WRONG_DOCUMENT_ERR DOMException if the "newChild" was 73 Node newChild; 79 newChild = doc1.createElement("newChild"); 87 insertedNode = elementNode.insertBefore(newChild, refChild);
|
nodeinsertbeforenodeancestor.java | 31 * The "insertBefore(newChild,refChild)" method raises a 70 Node newChild; 77 newChild = doc.getDocumentElement(); 86 insertedNode = employeeNode.insertBefore(newChild, refChild);
|
nodeinsertbeforenodename.java | 31 * The "insertBefore(newChild,refchild)" method returns 36 * returned from the "insertBefore(newChild,refChild)" 37 * method. The node returned should be "newChild". 70 Node newChild; 78 newChild = doc.createElement("newChild"); 79 insertedNode = employeeNode.insertBefore(newChild, refChild); 81 assertEquals("nodeInsertBeforeNodeNameAssert1", "newChild", childName);
|
nodeinsertbeforerefchildnonexistent.java | 31 * The "insertBefore(newChild,refChild)" method raises a 71 Node newChild; 76 newChild = doc.createElement("newChild"); 84 insertedNode = elementNode.insertBefore(newChild, refChild);
|
nodeinsertbeforerefchildnull.java | 32 * "insertBefore(newChild,refChild)" method inserts the 33 * node "newChild" at the end of the list of children. 36 * "insertBefore(newChild,refChild)" method with 37 * refChild=null. Since "refChild" is null the "newChild" 40 * node of the list should be "newChild". 73 Node newChild; 81 newChild = doc.createElement("newChild"); 82 insertedNode = employeeNode.insertBefore(newChild, refChild); 85 assertEquals("nodeInsertBeforeRefChildNullAssert1", "newChild", childName) [all...] |
nodereplacechild.java | 31 * The "replaceChild(newChild,oldChild)" method replaces 32 * the node "oldChild" with the node "newChild". 37 * Element should be "newChild". 69 Node newChild; 78 newChild = doc.createElement("newChild"); 79 replacedNode = employeeNode.replaceChild(newChild, oldChild); 82 assertEquals("nodeReplaceChildAssert1", "newChild", childName);
|
nodereplacechildinvalidnodetype.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 33 * a type that does not allow children of the type "newChild" 72 Node newChild; 78 newChild = doc.createAttribute("newAttribute"); 85 replacedChild = rootNode.replaceChild(newChild, oldChild);
|
nodereplacechildnewchilddiffdocument.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 32 * WRONG_DOCUMENT_ERR DOMException if the "newChild" was 73 Node newChild; 79 newChild = doc1.createElement("newChild"); 87 replacedChild = elementNode.replaceChild(newChild, oldChild);
|
nodereplacechildnodeancestor.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 70 Node newChild; 77 newChild = doc.getDocumentElement(); 86 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
nodereplacechildnodename.java | 33 * returned by the "replaceChild(newChild,oldChild)" 68 Node newChild; 78 newChild = doc.createElement("newChild"); 79 replacedNode = employeeNode.replaceChild(newChild, oldChild);
|
nodereplacechildoldchildnonexistent.java | 31 * The "replaceChild(newChild,oldChild)" method raises a 70 Node newChild; 75 newChild = doc.createElement("newChild"); 83 replacedNode = elementNode.replaceChild(newChild, oldChild);
|
hc_nodeappendchildchildexists.java | 31 * If the "newChild" is already in the tree, it is first 36 * the "appendChild(newChild)" method is invoked the first 69 Node newChild; 90 newChild = childList.item(0); 91 appendedChild = childNode.appendChild(newChild);
|
hc_nodeinsertbefore.java | 31 * The "insertBefore(newChild,refChild)" method inserts the 32 * node "newChild" before the node "refChild". 35 * sup element in the document and check the "newChild" 70 Node newChild; 91 newChild = doc.createElement("br"); 92 insertedNode = employeeNode.insertBefore(newChild, refChild);
|
hc_nodeinsertbeforenewchildexists.java | 31 * If the "newChild" is already in the tree, the 32 * "insertBefore(newChild,refChild)" method must first 71 Node newChild; 91 newChild = childList.item(0); 92 insertedNode = employeeNode.insertBefore(newChild, refChild);
|
hc_nodereplacechildnewchildexists.java | 31 * If the "newChild" is already in the tree, it is first 67 Node newChild = null; 87 newChild = childList.item(0); 89 replacedChild = employeeNode.replaceChild(newChild, oldChild);
|
/external/webkit/WebCore/html/ |
HTMLTableRowElement.cpp | 47 bool HTMLTableRowElement::checkDTD(const Node* newChild) 49 if (newChild->isTextNode()) 50 return static_cast<const Text*>(newChild)->containsOnlyWhitespace(); 51 return newChild->hasTagName(tdTag) || newChild->hasTagName(thTag) || 52 newChild->hasTagName(formTag) || newChild->hasTagName(scriptTag);
|
HTMLElement.h | 55 Element* insertAdjacentElement(const String& where, Element* newChild, ExceptionCode&); 92 virtual bool childAllowed(Node* newChild); // Error-checking during parsing that checks the DTD 113 Node* insertAdjacent(const String& where, Node* newChild, ExceptionCode&);
|
HTMLMapElement.cpp | 52 bool HTMLMapElement::checkDTD(const Node* newChild) 54 return inEitherTagList(newChild) || newChild->hasTagName(areaTag) // HTML 4 DTD 55 || newChild->hasTagName(scriptTag); // extensions
|
HTMLTableColElement.cpp | 55 bool HTMLTableColElement::checkDTD(const Node* newChild) 60 if (newChild->isTextNode()) 61 return static_cast<const Text*>(newChild)->containsOnlyWhitespace(); 62 return newChild->hasTagName(colTag);
|
/external/webkit/WebCore/rendering/ |
RenderObjectChildList.cpp | 136 void RenderObjectChildList::appendChildNode(RenderObject* owner, RenderObject* newChild, bool fullAppend) 138 ASSERT(newChild->parent() == 0); 139 ASSERT(!owner->isBlockFlow() || (!newChild->isTableSection() && !newChild->isTableRow() && !newChild->isTableCell())); 141 newChild->setParent(owner); 145 newChild->setPreviousSibling(lChild); 146 lChild->setNextSibling(newChild); 148 setFirstChild(newChild); 150 setLastChild(newChild); [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
NodeImpl.java | 54 public Node appendChild(Node newChild) throws DOMException { 55 ((NodeImpl)newChild).setParentNode(this); 56 mChildNodes.remove(newChild); 57 mChildNodes.add(newChild); 58 return newChild; 156 public Node insertBefore(Node newChild, Node refChild) throws DOMException { 180 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { 184 mChildNodes.remove(newChild); 188 mChildNodes.setElementAt(newChild, mChildNodes.indexOf(oldChild)); 189 ((NodeImpl)newChild).setParentNode(this) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/ |
android.widget.AbsoluteLayout.groovy | 131 INode newChild = targetNode.appendChild(fqcn); 135 addAttributes(newChild, element, idMap) { 158 newChild.setAttribute(ANDROID_URI, "layout_x", "${x}dip"); 159 newChild.setAttribute(ANDROID_URI, "layout_y", "${y}dip"); 161 addInnerElements(newChild, element, idMap);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
Node.java | 277 * Inserts the node <code>newChild</code> before the existing child node 279 * insert <code>newChild</code> at the end of the list of children. 280 * <br>If <code>newChild</code> is a <code>DocumentFragment</code> object, 282 * <code>refChild</code>. If the <code>newChild</code> is already in the 286 * @param newChild The node to insert. 292 * allow children of the type of the <code>newChild</code> node, or if 297 * <br>WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created 309 public Node insertBefore(Node newChild, 314 * Replaces the child node <code>oldChild</code> with <code>newChild</code> 316 * <br>If <code>newChild</code> is a <code>DocumentFragment</code> object [all...] |