/**
* Writes catalog.xml to the data directory.
*/
private void setUpCatalog() {
CatalogWriter writer = new CatalogWriter();
writer.dataStores(datastoreParams, datastoreNamespacePrefixes, Collections
.<String> emptySet());
writer.coverageStores(new HashMap<String, Map<String, String>>(),
new HashMap<String, String>(), Collections.<String> emptySet());
writer.namespaces(namespaces);
writer.styles(Collections.<String, String> emptyMap());