struct = createLdapOutputStructure(tf, lookup);
break;
default:
throw new RuntimeException("Unexpected structure type: " + type);
}
struct.restoreFrom(root);
return struct;
}
private static boolean isApplicable(DataStructure struct) {
// struct == null: This is the special case of XML - all necessary data is stored