}else if (delegate instanceof CertificateCollector){
newNode = new CertificateCollectorNode(current,(CertificateCollector) delegate);
}else if (delegate instanceof CertificateLocal){
newNode = new CertificateNode(current,(CertificateLocal) delegate);
}else if (delegate instanceof SicklistCollector){
newNode = new SicklistCollectorNode(current,(SicklistCollector) delegate);
}else if (delegate instanceof SicklistLocal){
newNode = new SicklistNode(current,(SicklistLocal) delegate);
}else if (delegate instanceof ContraindicationList){
newNode = new ContraindicationListNode(current,(ContraindicationList) delegate);
}else if (delegate instanceof DirectionList){