if (NodeLocationStoreType.InMemory.equals(storeType)) {
locationStore = new InMemoryNodeLocationStore();
} else if (NodeLocationStoreType.TempFile.equals(storeType)) {
locationStore = new PersistentNodeLocationStore();
} else if (NodeLocationStoreType.CompactTempFile.equals(storeType)) {
locationStore = new CompactPersistentNodeLocationStore();
} else {
throw new OsmosisRuntimeException("The store type " + storeType + " is not recognized.");
}
}