ObjectClassStructure[] entryStructs = new ObjectClassStructure[entries.length];
for (int n = 0; n < entries.length; ++n) {
entryStructs[n] = selectedStructures.getStructure(entries[n].getOid());
}
ObjectClassStructure[] auxStructs = auxClassSelection.getAuxiliaryClassStructures();
LdapStructureTreeNodeFactory factory = new LdapStructureTreeNodeFactory(entries, entryStructs, auxStructs);
List<LdapStructureEntryNode> nodes = factory.getEntryNodes();
return nodes.toArray(new LdapStructureEntryNode[nodes.size()]);
}