StarTableFactory factory = new StarTableFactory();
StarTable starTable = null;
if (RegCapabilityInterface.SIA_STDID.equals(_standardId)) {
_progressPanel.setText("Performing SIAP query: " + _url);
// convert raSize and decSize to degrees for query
DalQuery sq = new DalQuery(_url.toString(), ra, dec, radius / 60.);
starTable = sq.execute(factory);
} else if (RegCapabilityInterface.CONE_STDID.equals(_standardId)) {
_progressPanel.setText("Performing cone search: " + _url);
ConeSearch cs = new ConeSearch(_url.toString());
// convert radius to degrees for query
starTable = cs.performSearch(ra, dec, radius / 60., 0, factory);
} else if (RegCapabilityInterface.SSA_STDID.equals(_standardId)) {
_progressPanel.setText("Performing SSA query: " + _url);
DalQuery sq = new DalQuery(_url.toString(), ra, dec, radius / 60.);
sq.addArgument("REQUEST", "queryData");
starTable = sq.execute(factory);
}
if (_progressPanel.isInterrupted()) {
throw new ProgressException("Interrupted");
}