Searched defs:newChild (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DParentNode.java261 * @param newChild The Node to be moved to our subtree. As a
265 * @param refChild Current child which newChild should be placed
269 * @return newChild, in its new state (relocated, or emptied in the case of
272 * @throws DOMException(HIERARCHY_REQUEST_ERR) if newChild is of a
273 * type that shouldn't be a child of this node, or if newChild is an
276 * @throws DOMException(WRONG_DOCUMENT_ERR) if newChild has a
285 public Node insertBefore(Node newChild, Node refChild) argument
288 return internalInsertBefore(newChild, refChild, false);
296 Node internalInsertBefore(Node newChild, Node refChild, boolean replace) argument
301 if (newChild
595 replaceChild(Node newChild, Node oldChild) argument
[all...]
H A DAttrImpl.java679 * @param newChild The Node to be moved to our subtree. As a
683 * @param refChild Current child which newChild should be placed
687 * @return newChild, in its new state (relocated, or emptied in the case of
690 * @throws DOMException(HIERARCHY_REQUEST_ERR) if newChild is of a
691 * type that shouldn't be a child of this node, or if newChild is an
694 * @throws DOMException(WRONG_DOCUMENT_ERR) if newChild has a
703 public Node insertBefore(Node newChild, Node refChild) argument
706 return internalInsertBefore(newChild, refChild, false);
714 Node internalInsertBefore(Node newChild, Node refChild, boolean replace) argument
720 if (newChild
985 replaceChild(Node newChild, Node oldChild) argument
[all...]
H A DNodeImpl.java219 * Convenience shorthand for insertBefore(newChild,null).
225 * @return newChild, in its new state (relocated, or emptied in the case of
228 * @throws DOMException(HIERARCHY_REQUEST_ERR) if newChild is of a
231 * @throws DOMException(WRONG_DOCUMENT_ERR) if newChild has a
237 public Node appendChild(Node newChild) throws DOMException { argument
238 return insertBefore(newChild, null);
455 * @param newChild The Node to be moved to our subtree. As a
459 * @param refChild Current child which newChild should be placed
463 * @return newChild, in its new state (relocated, or emptied in the case of
466 * @throws DOMException(HIERARCHY_REQUEST_ERR) if newChild i
479 insertBefore(Node newChild, Node refChild) argument
532 replaceChild(Node newChild, Node oldChild) argument
[all...]
H A DCoreDocumentImpl.java387 public Node insertBefore(Node newChild, Node refChild) argument
391 int type = newChild.getNodeType();
400 if (newChild.getOwnerDocument() == null &&
401 newChild instanceof DocumentTypeImpl) {
402 ((DocumentTypeImpl) newChild).ownerDocument = this;
404 super.insertBefore(newChild,refChild);
408 docElement = (ElementImpl)newChild;
411 docType = (DocumentTypeImpl)newChild;
414 return newChild;
449 public Node replaceChild(Node newChild, Nod argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/opti/
H A DDefaultNode.java153 public Node insertBefore(Node newChild, Node refChild) throws DOMException { argument
158 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { argument
168 public Node appendChild(Node newChild) throws DOMException { argument
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeModel.java229 * Invoked this to insert newChild at location index in parents children.
234 public void insertNodeInto(MutableTreeNode newChild, argument
236 parent.insert(newChild, index);
H A DDefaultMutableTreeNode.java154 * Removes <code>newChild</code> from its present parent (if it has a
157 * <code>newChild</code> must not be null and must not be an ancestor of
160 * @param newChild the MutableTreeNode to insert under this node
166 * <code>newChild</code> is null or is an
172 public void insert(MutableTreeNode newChild, int childIndex) { argument
175 } else if (newChild == null) {
177 } else if (isNodeAncestor(newChild)) {
181 MutableTreeNode oldParent = (MutableTreeNode)newChild.getParent();
184 oldParent.remove(newChild);
186 newChild
405 add(MutableTreeNode newChild) argument
[all...]
H A DFixedHeightLayoutCache.java1199 * Adds newChild to this nodes children at the appropriate location.
1200 * The location is determined from the childIndex of newChild.
1202 protected void addNode(FHTreeStateNode newChild) { argument
1204 int childIndex = newChild.getChildIndex();
1211 insert(newChild, counter);
1216 add(newChild);
/openjdk7/jaxp/src/org/w3c/dom/
H A DNode.java307 * Inserts the node <code>newChild</code> before the existing child node
309 * insert <code>newChild</code> at the end of the list of children.
310 * <br>If <code>newChild</code> is a <code>DocumentFragment</code> object,
312 * <code>refChild</code>. If the <code>newChild</code> is already in the
316 * @param newChild The node to insert.
322 * allow children of the type of the <code>newChild</code> node, or if
327 * <br>WRONG_DOCUMENT_ERR: Raised if <code>newChild</code> was created
340 public Node insertBefore(Node newChild, argument
345 * Replaces the child node <code>oldChild</code> with <code>newChild</code>
347 * <br>If <code>newChild</cod
378 replaceChild(Node newChild, Node oldChild) argument
427 appendChild(Node newChild) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DDTM.java916 * insertionCursor.appendChild(document.importNode(newChild)))
920 * @param newChild Must be a valid new node handle.
925 public void appendChild(int newChild, boolean clone, boolean cloneDepth); argument
/openjdk7/jdk/src/share/classes/javax/imageio/metadata/
H A DIIOMetadataNode.java449 * Inserts the node <code>newChild</code> before the existing
451 * <code>null</code>, insert <code>newChild</code> at the end of
454 * @param newChild the <code>Node</code> to insert.
459 * @exception IllegalArgumentException if <code>newChild</code> is
462 public Node insertBefore(Node newChild, argument
464 if (newChild == null) {
465 throw new IllegalArgumentException("newChild == null!");
468 checkNode(newChild);
471 IIOMetadataNode newChildNode = (IIOMetadataNode)newChild;
509 * <code>newChild</cod
520 replaceChild(Node newChild, Node oldChild) argument
615 appendChild(Node newChild) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DSOAPPartImpl.java474 public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild) argument
477 return document.appendChild(newChild);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DAdaptiveResultTreeImpl.java1294 public void appendChild(int newChild, boolean clone, boolean cloneDepth) argument
1297 _dom.appendChild(newChild, clone, cloneDepth);
1300 super.appendChild(newChild, clone, cloneDepth);
H A DSimpleResultTreeImpl.java996 public void appendChild(int newChild, boolean clone, boolean cloneDepth) argument
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMDefaultBase.java2230 * @param newChild Must be a valid new node handle.
2235 public void appendChild(int newChild, boolean clone, boolean cloneDepth) argument
H A DDTMDocumentImpl.java2052 * @param newChild Must be a valid new node handle.
2057 public void appendChild(int newChild, boolean clone, boolean cloneDepth) { argument
2058 boolean sameDoc = ((newChild & DOCHANDLE_MASK) == m_docHandle);
H A DDTMNodeProxy.java504 * @param newChild
513 public final Node insertBefore(Node newChild, Node refChild) argument
521 * @param newChild
530 public final Node replaceChild(Node newChild, Node oldChild) argument
553 * @param newChild
561 public final Node appendChild(Node newChild) throws DOMException argument
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DUnImplNode.java90 * @param newChild New node to append to the list of this node's children
96 public Node appendChild(Node newChild) throws DOMException argument
651 * @param newChild New child node to insert
658 public Node insertBefore(Node newChild, Node refChild) throws DOMException argument
669 * @param newChild Replace existing child with this one
676 public Node replaceChild(Node newChild, Node oldChild) throws DOMException argument

Completed in 72 milliseconds