@Override public Document getResultsDoc(Context context, String format, String query, int totalResults, int start, int pageSize, DSpaceObject scope, List<DSpaceObject> results, Map<String, String> labels) throws IOException { try { return getResults(context, format, query, totalResults, start, pageSize, scope, results, labels) .outputW3CDom(); } catch (FeedException e) { log.error(e.toString(), e); throw new IOException("Unable to generate feed", e); } }
dso, getRecentlySubmittedItems(context,dso), FeedUtils.i18nLabels); feed.setType(this.format); Document dom = feed.outputW3CDom(); FeedUtils.unmangleI18N(dom); DOMStreamer streamer = new DOMStreamer(contentHandler, lexicalHandler);