setType(metadata, type.getType());
}
switch (type) {
case PUBLISHER:
PublisherTextExtractor publisherTextExtractor =
new PublisherTextExtractor(filesystem);
xhtml.element("p", publisherTextExtractor.getText());
break;
case WORDDOCUMENT:
new WordExtractor(context).parse(filesystem, xhtml);
break;
case POWERPOINT: