HomeSort by relevance Sort by last modified time
    Searched defs:newChild (Results 1 - 25 of 50) sorted by null

1 2

  /dalvik/libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_nodeappendchildgetnodename.java 31 * The "appendChild(newChild)" method returns the node
68 Node newChild;
75 newChild = doc.createElement("br");
76 appendNode = employeeNode.appendChild(newChild);
hc_nodeappendchildinvalidnodetype.java 31 * The "appendChild(newChild)" method raises a
33 * a type that does not allow children of the type "newChild"
71 Node newChild;
75 newChild = doc.createAttribute("newAttribute");
80 appendedChild = rootNode.appendChild(newChild);
hc_nodeappendchildnewchilddiffdocument.java 31 * The "appendChild(newChild)" method raises a
32 * WRONG_DOCUMENT_ERR DOMException if the "newChild" was
72 Node newChild;
78 newChild = doc1.createElement("br");
85 appendedChild = elementNode.appendChild(newChild);
hc_nodeinsertbeforeinvalidnodetype.java 31 * The "insertBefore(newChild,refChild)" method raises a
33 * a type that does not allow children of the type "newChild"
73 Node newChild;
78 newChild = doc.createAttribute("title");
86 insertedNode = rootNode.insertBefore(newChild, refChild);
hc_nodeinsertbeforerefchildnonexistent.java 31 * The "insertBefore(newChild,refChild)" method raises a
71 Node newChild;
76 newChild = doc.createElement("br");
84 insertedNode = elementNode.insertBefore(newChild, refChild);
hc_nodereplacechildinvalidnodetype.java 31 * The "replaceChild(newChild,oldChild)" method raises a
33 * a type that does not allow children of the type "newChild"
73 Node newChild;
78 newChild = doc.createAttribute("lang");
86 replacedChild = rootNode.replaceChild(newChild, oldChild);
hc_nodereplacechildoldchildnonexistent.java 31 * The "replaceChild(newChild,oldChild)" method raises a
69 Node newChild;
74 newChild = doc.createElement("br");
82 replacedNode = elementNode.replaceChild(newChild, oldChild);
nodeappendchildgetnodename.java 31 * The "appendChild(newChild)" method returns the node
36 * "getNodeName()" method should return "newChild".
68 Node newChild;
75 newChild = doc.createElement("newChild");
76 appendNode = employeeNode.appendChild(newChild);
78 assertEquals("nodeAppendChildGetNodeNameAssert1", "newChild", childName);
nodeappendchildinvalidnodetype.java 31 * The "appendChild(newChild)" method raises a
33 * a type that does not allow children of the type "newChild"
72 Node newChild;
76 newChild = doc.createAttribute("newAttribute");
81 appendedChild = rootNode.appendChild(newChild);
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);
nodeappendchildnodeancestor.java 31 * The "appendChild(newChild)" method raises a
70 Node newChild;
75 newChild = doc.getDocumentElement();
82 appendedChild = employeeNode.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);
nodeinsertbeforerefchildnonexistent.java 31 * The "insertBefore(newChild,refChild)" method raises a
71 Node newChild;
76 newChild = doc.createElement("newChild");
84 insertedNode = elementNode.insertBefore(newChild, refChild);
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);
nodereplacechildoldchildnonexistent.java 31 * The "replaceChild(newChild,oldChild)" method raises a
70 Node newChild;
75 newChild = doc.createElement("newChild");
83 replacedNode = elementNode.replaceChild(newChild, oldChild);
attrreplacechild1.java 65 Node newChild;
74 newChild = doc.createTextNode("Yesterday");
79 removedNode = attrNode.replaceChild(newChild, textNode);
hc_attrappendchild2.java 64 Node newChild;
72 newChild = doc.createElement("terday");
77 retval = titleAttr.appendChild(newChild);
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_nodeappendchildnodeancestor.java 31 * The "appendChild(newChild)" method raises a
68 Node newChild;
75 newChild = doc.getDocumentElement();
82 appendedChild = employeeNode.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_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("br");
87 insertedNode = elementNode.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_nodeinsertbeforenodeancestor.java 31 * The "insertBefore(newChild,refChild)" method raises a
68 Node newChild;
75 newChild = doc.getDocumentElement();
84 insertedNode = employeeNode.insertBefore(newChild, refChild);
hc_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("br");
79 insertedNode = employeeNode.insertBefore(newChild, refChild);
  /external/webkit/WebCore/bindings/v8/custom/
V8NodeCustom.cpp 100 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0;
102 bool success = imp->insertBefore(newChild, refChild, ec, true);
119 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0;
121 bool success = imp->replaceChild(newChild, oldChild, ec, true);
155 Node* newChild = V8Node::HasInstance(args[0]) ? V8Node::toNative(v8::Handle<v8::Object>::Cast(args[0])) : 0;
156 bool success = imp->appendChild(newChild, ec, true );

Completed in 641 milliseconds

1 2