collection.createResource((String) i.next(), type);
getCollection().createResource((String) i.next(), type);
    private void createResources(ArrayList names, String type) throws XMLDBException {        for (Iterator i = names.iterator(); i.hasNext(); )            collection.createResource((String) i.next(), type);            }