@Override
public void processView(HelpSet hs,
String name,
String label,
String type,
Hashtable viewAttributes,
String data,
Hashtable dataAttributes,
Locale locale) {
if (name.equals("Search")) {
try {
QueryEngine qe = new QueryEngine(data, hs.getHelpSetURL());
} catch (Exception exception) {
String message = String.format("Help set [%s] of module [%s] has no or bad search index. Search view removed.",
helpSetPath, moduleName);
logger.log(Level.SEVERE, message, "");
return;
}
}
super.processView(hs, name, label, type, viewAttributes, data, dataAttributes, locale);
}
}