/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
nodeinsertbeforenewchildexists.java | 31 * If the "newChild" is already in the tree, the 32 * "insertBefore(newChild,refChild)" method must first 71 Node newChild; 112 newChild = childList.item(0); 116 newChild = childList.item(1); 119 insertedNode = employeeNode.insertBefore(newChild, refChild);
|
nodereplacechildnewchildexists.java | 68 Node newChild = null; 106 newChild = childList.item(1); 110 newChild = childList.item(0); 115 replacedChild = employeeNode.replaceChild(newChild, oldChild);
|
nodeinsertbefore.java | 31 * The "insertBefore(newChild,refChild)" method inserts the 32 * node "newChild" before the node "refChild". 35 * child of the second employee and check the "newChild" 68 Node newChild; 83 expectedWithWhitespace.add("newChild"); 95 expectedWithoutWhitespace.add("newChild"); 116 newChild = doc.createElement("newChild"); 117 insertedNode = employeeNode.insertBefore(newChild, refChild);
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
ElemAttribute.java | 216 * @param newChild Child to append to the list of this node's children 222 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 225 int type = ((ElemTemplateElement) newChild).getXSLToken(); 254 new Object[]{ newChild.getNodeName(), 255 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName + 260 return super.appendChild(newChild);
|
ElemPI.java | 178 * @param newChild Child to add to child list 184 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 187 int type = ((ElemTemplateElement) newChild).getXSLToken(); 216 new Object[]{ newChild.getNodeName(), 217 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName + 222 return super.appendChild(newChild);
|
ElemTemplateElement.java | 249 * @param newChild Child to be added to child list 254 public Node appendChild(Node newChild) throws DOMException 257 if (null == newChild) 262 ElemTemplateElement elem = (ElemTemplateElement) newChild; 277 return newChild; 387 * @param newChild New child to replace with 394 public Node replaceChild(Node newChild, Node oldChild) throws DOMException 400 ElemTemplateElement newChildElem = ((ElemTemplateElement) newChild); 427 * @param newChild New child node to insert 434 public Node insertBefore(Node newChild, Node refChild) throws DOMExceptio [all...] |
ElemCallTemplate.java | 324 * @param newChild Child to add to this node's children list 330 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 333 int type = ((ElemTemplateElement) newChild).getXSLToken(); 337 setParamElem((ElemWithParam) newChild); 342 return super.appendChild(newChild);
|
ElemSort.java | 309 * @param newChild Child to add to the child list 315 public Node appendChild(Node newChild) throws DOMException 319 new Object[]{ newChild.getNodeName(), 320 this.getNodeName() }); //"Can not add " +((ElemTemplateElement)newChild).m_elemName +
|
ElemForEach.java | 429 * @param newChild Child to add to child list 433 public ElemTemplateElement appendChild(ElemTemplateElement newChild) 436 int type = ((ElemTemplateElement) newChild).getXSLToken(); 440 setSortElem((ElemSort) newChild); 442 return newChild; 445 return super.appendChild(newChild);
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
InnerNodeImpl.java | 49 public Node appendChild(Node newChild) throws DOMException { 50 return insertChildAt(newChild, children.size()); 83 public Node insertBefore(Node newChild, Node refChild) throws DOMException { 94 return insertChildAt(newChild, refChildImpl.index); 103 * @param newChild The new child node to add. 111 public Node insertChildAt(Node newChild, int index) throws DOMException { 112 LeafNodeImpl newChildImpl = (LeafNodeImpl) newChild; 132 return newChild; 191 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { 193 LeafNodeImpl newChildImpl = (LeafNodeImpl) newChild; [all...] |
/external/webkit/JavaScriptCore/API/tests/ |
Node.c | 64 void Node_replaceChild(Node* node, Node* newChild, Node* oldChild) 71 current->node = newChild;
|
/external/webkit/WebCore/html/ |
HTMLScriptElement.h | 43 virtual bool checkDTD(const Node* newChild) { return newChild->isTextNode(); }
|
HTMLPlugInElement.cpp | 147 bool HTMLPlugInElement::checkDTD(const Node* newChild) 149 return newChild->hasTagName(paramTag) || HTMLFrameOwnerElement::checkDTD(newChild);
|
HTMLElement.cpp | 542 Node* HTMLElement::insertAdjacent(const String& where, Node* newChild, ExceptionCode& ec) 553 return p->insertBefore(newChild, this, ec) ? newChild : 0; 558 return insertBefore(newChild, firstChild(), ec) ? newChild : 0; 561 return appendChild(newChild, ec) ? newChild : 0; 565 return p->insertBefore(newChild, nextSibling(), ec) ? newChild : 0; 574 Element* HTMLElement::insertAdjacentElement(const String& where, Element* newChild, ExceptionCode& ec [all...] |
HTMLOptionElement.h | 44 virtual bool checkDTD(const Node* newChild);
|
HTMLPlugInElement.h | 75 virtual bool checkDTD(const Node* newChild);
|
HTMLTextAreaElement.h | 38 virtual bool checkDTD(const Node* newChild) { return newChild->isTextNode(); }
|
HTMLFrameSetElement.cpp | 67 bool HTMLFrameSetElement::checkDTD(const Node* newChild) 71 if (newChild->isTextNode()) 72 return static_cast<const Text*>(newChild)->containsOnlyWhitespace(); 73 return newChild->hasTagName(framesetTag) || newChild->hasTagName(frameTag);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementsetattributenodens06.java | 78 Node newChild; 83 newChild = attribute.appendChild(entRef);
|
/external/webkit/WebCore/dom/ |
ContainerNode.cpp | 65 bool ContainerNode::insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode& ec, bool shouldLazyAttach) 75 return appendChild(newChild, ec, shouldLazyAttach); 78 checkAddChild(newChild.get(), ec); 88 bool isFragment = newChild->nodeType() == DOCUMENT_FRAGMENT_NODE; 90 // If newChild is a DocumentFragment with no children; there's nothing to do. 92 if (isFragment && !newChild->firstChild()) 96 if (refChild->previousSibling() == newChild || refChild == newChild) // nothing to do 102 RefPtr<Node> child = isFragment ? newChild->firstChild() : newChild; [all...] |
ContainerNode.h | 46 virtual bool insertBefore(PassRefPtr<Node> newChild, Node* refChild, ExceptionCode&, bool shouldLazyAttach = false); 47 virtual bool replaceChild(PassRefPtr<Node> newChild, Node* oldChild, ExceptionCode&, bool shouldLazyAttach = false); 49 virtual bool appendChild(PassRefPtr<Node> newChild, ExceptionCode&, bool shouldLazyAttach = false);
|
/external/webkit/WebCore/rendering/ |
RenderButton.h | 42 virtual void addChild(RenderObject* newChild, RenderObject *beforeChild = 0);
|
RenderInline.h | 39 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0); 84 void addChildToContinuation(RenderObject* newChild, RenderObject* beforeChild); 85 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObject* beforeChild = 0); 90 RenderObject* newChild, RenderBoxModelObject* oldCont);
|
/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 );
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/ |
android.widget.FrameLayout.groovy | 119 INode newChild = targetNode.appendChild(fqcn); 123 addAttributes(newChild, element, idMap) { 133 addInnerElements(newChild, element, idMap);
|