{
throw new RepositoryException("Could not retrieve the repository to which the '" + model + "' belongs");
}
// - first perform any transformations
final Transformer transformer =
(Transformer)ComponentContainer.instance().findRequiredComponent(Transformer.class);
final String[] uris = model.getUris();
final int uriNumber = uris.length;
final InputStream[] streams = new InputStream[uriNumber];
for (int ctr = 0; ctr < uriNumber; ctr++)
{
streams[ctr] = transformer.transform(
uris[ctr],
model.getTransformations());
}
// - now load the models into the repository