case 0: style = XPathQueryResolver.STYLE_XPATH; break;
case 1: style = FullTextQueryResolver.STYLE_FULLTEXT; break;
case 2: style = XSLTQueryResolver.STYLE_XSLT; break;
default: style = XUpdateQueryResolver.STYLE_XUPDATE; break;
}
ResultSetClient rs = col.queryCollection(style, query, cfg.getNamespaceMap());
sw.stop();
statusBar.setText(sw.toString());
Document doc = DOMHelper.newDocument();