Examples of removeChild()


Examples of com.izforge.izpack.adaptator.IXMLElement.removeChild()

    for (int i = 0;  i < idata.panels.size();   i++) {
      IzPanel panel = (IzPanel) idata.panels.get(i);
      if ("packsPanel".equals(panel.metadata.getPanelid())) {
        IXMLElement panelXML = idata.xmlData.getChildAtIndex(i);
        while (panelXML.hasChildren())
          panelXML.removeChild(panelXML.getChildAtIndex(0));
        panel.makeXMLData(panelXML);
        break;
      }
    }
  }
View Full Code Here

Examples of com.linkedin.helix.store.zk.ZNode.removeChild()

  public void removeFromParentChildSet(String parentPath, String name)
  {
    ZNode zNode = _cache.get(parentPath);
    if (zNode != null)
    {
      zNode.removeChild(name);
    }
  }

  public boolean exists(String path)
  {
View Full Code Here

Examples of com.sencha.gxt.core.client.dom.XElement.removeChild()

  private List<Element> setText(TextSprite sprite) {
    List<Element> tspans = new ArrayList<Element>();
    XElement spriteElement = getElement(sprite);

    while (spriteElement.hasChildNodes()) {
      spriteElement.removeChild(spriteElement.getFirstChild());
    }

    String parentX = String.valueOf(sprite.getX());

    // Wrap each row into tspan to emulate rows
View Full Code Here

Examples of com.sun.enterprise.config.ConfigBean.removeChild()

//try {
        xpath = m_baseConfigBean.getAbsoluteXPath(null);
        xpath = ServerXPathHelper.getParentXPath(xpath);
        ConfigContext ctx = getConfigContext(); //com.sun.enterprise.admin.config.BaseConfigMBean.getConfigContext(); //FIXME: this method should not be in MBEAN
        ConfigBean parent = ConfigBeansFactory.getConfigBeanByXPath(ctx, xpath);
        parent.removeChild(m_baseConfigBean);
//} catch(Exception e)
//{
   //FIXME:temporary solution
//   System.out.println("Exception during deleteSelf()  xpath="+xpath);
//}
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.ClusterRef.removeChild()

                }

                HealthChecker hc = cRef.getHealthChecker();
                if (hc != null) {
                    //cRef.removeHealthCheker(hc);
                    cRef.removeChild(hc, true);
                    _logger.log(Level.INFO,_sMgr.getString(
                            "http_lb_admin.HealthCheckerDeleted", target));
                } else {
                   if (ignoreFailure == false) {
                       String msg = _strMgr.getString("HealthCheckerDoesNotExist",
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.ServerRef.removeChild()

                }

                HealthChecker hc  = sRef.getHealthChecker();
                if (hc != null) {
                    //sRef.removeHealthCheker(hc);
                    sRef.removeChild(hc, true);
                    _logger.log(Level.INFO,_sMgr.getString(
                            "http_lb_admin.HealthCheckerDeleted", target));
                } else {
                    if (ignoreFailure == false) {
                       String msg = _strMgr.getString("HealthCheckerDoesNotExist",
View Full Code Here

Examples of com.trolltech.qt.xml.QDomElement.removeChild()

      String hint = enmedia.attribute("hint");
      hint = hint.replace("'","&apos;");
      enmedia.setAttribute("onClick", "window.jambi.decryptText('crypt"+Global.cryptCounter.toString()+"', '"+encryptedText+"', '"+hint+"');");
      enmedia.setAttribute("onMouseOver", "style.cursor='hand'");
      enmedia.setTagName("img");
      enmedia.removeChild(enmedia.firstChild());   // Remove the actual encrypted text
    }

   
    // Modify link tags
    anchors = docElem.elementsByTagName("a");
View Full Code Here

Examples of com.trolltech.qt.xml.QDomNode.removeChild()

      // Check if we have a LaTeX image.  Remove the parent link tag
      if (enType.equalsIgnoreCase("en-latex")) {
        enType = "en-media";
        QDomNode parent = e.parentNode();
        parent.removeChild(e);
        parent.parentNode().replaceChild(e, parent);
      }
     
      // If we've gotten this far, we have an en-media tag
      e.setTagName(enType);
View Full Code Here

Examples of com.vaadin.sass.internal.tree.Node.removeChild()

        }
        Node parent = node.getParentNode();
        if (node instanceof BlockNode && node.getChildren().isEmpty()
                && parent != null) {
            // remove empty block
            parent.removeChild(node);
        }
    }

    public static void addVariable(VariableNode node) {
        variables.put(node.getName(), node);
View Full Code Here

Examples of com.vaadin.ui.MenuBar.MenuItem.removeChild()

            @Override
            public void menuSelected(MenuItem selected) {
                MenuItem parent = selected.getParent();
                if (parent != null) {
                    parent.removeChild(selected);
                } else {
                    menuBar.removeItem(selected);
                }
            }
        };
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.