if (!(req instanceof GetFeatureRequest.WFS20)) {
throw new WFSException(req, "Stored queries only supported in WFS 2.0+");
}
StoredQueryProvider sqp = new StoredQueryProvider(catalog);
for (URI storedQueryId : storedQueryIds) {
StoredQuery sq = sqp.getStoredQuery(storedQueryId.toString());
if (sq == null) {
throw new WFSException(req, "No such stored query: " + storedQueryId);
}
//JD: since stored queries are 2.0 only we will create 2.0 model objects directly... once