if(child.getType() == ComponentData.AGENT) {
if(child.getType() == ComponentData.NODE) { child.addChild(0, createBinderComponentData()); } else if(child.getType() == ComponentData.AGENT) {
  public void processData(ComponentData data) {    ComponentData[] children = data.getChildren();        for(int i=0; i < children.length; i++) {      ComponentData child = children[i];      if(child.getType() == ComponentData.AGENT) {	// Process it.	if(child.getName().equals(generatorAgent.getFullName().toString())) {	  // Found Generator	  child.setOwner(this);	  child = generatorAgent.getComponentData(child);	} else if(child.getName().equals(transducerAgent.getFullName().toString())) {	  // Found Transducer	  child.setOwner(this);	  child = transducerAgent.getComponentData(child);	} else {	  // Add to list for Society	  agentNames.add(child.getName());	}      } else {	// Process it's children.	processData(child);      }          }  }