public void createCollection(String collectionName) throws Exception {
connect();
// check if there is an object there already in that case delete it
// we assume we are cleaning up after an usuccessful testrun
XMLCollection test = (XMLCollection)db.objectForName(collectionName);
if (test != null) {
deleteCollection(collectionName);
connect();
}
// create a new Collection
XMLCollection root = (XMLCollection)db.createObject( XMLCollectionImpl.class.getName(), OzoneInterface.Public, collectionName);
System.out.println("CollectionStorageHelper.createCollection() - created XMLCollectionImpl as " + collectionName);
root.setName(collectionName);
}