Examples of removeChild()


Examples of org.teiid.query.optimizer.relational.plantree.PlanNode.removeChild()

          JoinType jt = (JoinType)grandParent.getProperty(NodeConstants.Info.JOIN_TYPE);
          if (jt == JoinType.JOIN_FULL_OUTER || (jt == JoinType.JOIN_LEFT_OUTER && !isLeft)) {
            return null;
          }
        }
        grandParent.removeChild(selectRoot);
        if (isLeft) {
          grandParent.addFirstChild(accessNode);
        } else {
          grandParent.addLastChild(accessNode);
        }
View Full Code Here

Examples of org.thymeleaf.dom.NestableNode.removeChild()

            parent.insertBefore(element, hiddenElement);

        }


        parent.removeChild(element);
       
        return ProcessorResult.OK;        
       
    }
View Full Code Here

Examples of org.vectomatic.dom.svg.OMElement.removeChild()

    OMElement par = (OMElement) line.getParentNode();
    OMNodeList<OMElement> circles = par.getElementsByTagName("circle");
   
    for(int i=0; i < circles.getLength(); i++) {
      if (!circles.getItem(i).getAttribute(WRITE_BLOCK_ATTR).isEmpty()) {
        par.removeChild(circles.getItem(i));
        break;
      }
    }
  }
 
View Full Code Here

Examples of org.vietspider.html.HTMLNode.removeChild()

      HTMLNode parent = node.getParent();
//      System.out.println(parent.getTextValue());
      while(parent != null) {
//        System.out.println(parent.getTextValue());
        node.setValue(new char[]{});
        parent.removeChild(node);
       
        int word = countWord(parent);
        if(word > 15) break;
        node = parent;
        parent = node.getParent();
View Full Code Here

Examples of org.w3c.dom.Document.removeChild()

  public void removeAllEvents() throws Exception {
    try {
      getLogger().info("event class is: " + EVENT_CLASS_ALL_EVENTS + ". Removing all events.");
      Document eventDocument = getEvents();
      eventDocument.removeChild(eventDocument.getFirstChild());
      eventDocument.appendChild(eventDocument.createElement("events"));
      if (this.getConnection() != null) {
        String stmt = "DELETE FROM " + this.getTableEvents() + " WHERE 1>0";
        this.getConnection().executeUpdate(stmt);
        this.getConnection().commit();
View Full Code Here

Examples of org.w3c.dom.DocumentFragment.removeChild()

                // now add root node authentication
                Node root = frag.getOwnerDocument().createElementNS(null, "authentication");
                Node child;
                while (frag.hasChildNodes() == true) {
                    child = frag.getFirstChild();
                    frag.removeChild(child);
                    root.appendChild(child);
                }
                frag.appendChild(root);
            }
View Full Code Here

Examples of org.w3c.dom.Element.removeChild()

        Element fragElt = (Element) _contextDocument.importNode(
             d.getDocumentElement(), true);
        result = _contextDocument.createDocumentFragment();
        Node child = fragElt.getFirstChild();
        while (child != null) {
          fragElt.removeChild(child);
          result.appendChild(child);
          child = fragElt.getFirstChild();
        }
        // String outp = serialize(d);
View Full Code Here

Examples of org.w3c.dom.Node.removeChild()

         if (null==oBlksNode)
           DebugFile.writeln("ERROR: blocks node not found");

     for (int c=0; c<nBlocks; c++) {
        if (DebugFile.trace) DebugFile.writeln("removing child "+vFormerOrderBlcks.get(c).id());
        oBlksNode.removeChild(vFormerOrderBlcks.get(c).getNode());
     }
     for (int c=0; c<nBlocks; c++) {
        if (DebugFile.trace) DebugFile.writeln("append child "+vNewPermutedBlcks.get(c).id());
        oBlksNode.appendChild(vNewPermutedBlcks.get(c).getNode());
     }
View Full Code Here

Examples of org.xmlpull.infoset.XmlElement.removeChild()

            } else {
                removeList.add(schema);
            }
        }
        for (XmlElement schema : removeList) {
            types.removeChild(schema);
        }

        types.addChild(XMLUtil.stringToXmlElement(GFacSimpleTypesXSD.XSD));
        types.addChild(XMLUtil.stringToXmlElement(LeadCrosscutXSD.XSD));
        types.addChild(XMLUtil.stringToXmlElement(LeadContextHeaderXSD.XSD));
View Full Code Here

Examples of org.zkoss.zk.ui.Component.removeChild()

  public Radio removeItemAt(int index) {
    final Radio item = getItemAtIndex(index);
    if (item != null && !removeExternal(item)) {
      final Component p = item.getParent();
      if (p != null)
        p.removeChild(item);
    }
    return item;
  }
  /**  Removes the child radio button in the radio group at the given index.
   * @return the removed radio button.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.