for (int i = 0; i < nodes.length; i++) {
nodes[i].lock();
}
//
creator.create(initialContentsURI, document, parameters);
} catch (Exception e) {
throw new DocumentBuildException("call to creator for new document failed", e);
}
// Write Lenya-internal meta-data