private void store() throws RepositoryException {
FileSystemResource propFile =
new FileSystemResource(nsRegStore, NS_REG_RESOURCE);
try {
propFile.makeParentDirs();
OutputStream os = propFile.getOutputStream();
Properties props = new Properties();
// store mappings in properties
for (String prefix : prefixToURI.keySet()) {