public void store(ContentEvent event) throws VetoException {
try {
String namespaceName = event.getNamespace() == null ? null : event.getNamespace().getName();
NodeRevisionDescriptors descriptors = event.getRevisionDescriptors();
NodeRevisionDescriptor descriptor = event.getRevisionDescriptor();
NodeRevisionContent content = event.getRevisionContent();
if ( content != null && descriptor != null ) {
PropertyExtractor[] extractor = ExtractorManager.getInstance().getPropertyExtractors(namespaceName, descriptors, descriptor);
for ( int i = 0; i < extractor.length; i++ ) {
Map extractedProperties = extractor[i].extract(new ByteArrayInputStream(content.getContentBytes()));
for ( Iterator j = extractedProperties.entrySet().iterator(); j.hasNext(); ) {
Map.Entry entry = (Map.Entry) j.next();
final Object key = entry.getKey();
if (key instanceof PropertyName) {
final String name = ((PropertyName) key).getName();