node = host.addNode(addNode(child.getName()));
expNode = host.addNode(addNode(child.getName()));
  public void addHostChildren(ComponentData[] children, HostComponent host) {    for(int i=0; i < children.length; i++) {      boolean foundInHost = false;      boolean foundInSociety = false;      ComponentData child = children[i];      NodeComponent expNode = null;      NodeComponent[] allNodes = getNodeComponents();      if(child.getType().equals(ComponentData.NODE)) {        for(int k=0; k < allNodes.length; k++) {          if(child.getName().equals(allNodes[k].getShortName())) {            foundInSociety = true;            expNode = allNodes[k];            break;          }        }        NodeComponent[] crntNodes = host.getNodes();        for(int j=0; j < crntNodes.length; j++) {          if(child.getName().equals(crntNodes[j].getShortName())) {            foundInHost = true;            break;          }        }        if(!foundInHost) {          // See if in Exp.          NodeComponent node = null;          if(foundInSociety) {            node = host.addNode(expNode);          } else {            node = host.addNode(addNode(child.getName()));          }          addNodeChildren(child.getChildren(), node);        }      } else {        if(log.isWarnEnabled()) {          log.warn("Unknown child of host: " + child.getName());        }      }    }  }