class SitemapProcessor {

    /**
     * Logger.
     */
    private static final Logger LOGGER = LogManager.getLogger(SitemapProcessor.class);

    /**
     * Sitemap query service.
     */
    @Inject
    private SitemapQueryService sitemapQueryService;

    /**
     * Returns the sitemap.
     *
     * @param context the specified context
     */
    public void sitemap(final RequestContext context) {<FILL_FUNCTION_BODY>}
}

        final TextXmlRenderer renderer = new TextXmlRenderer();
        context.setRenderer(renderer);
        final Sitemap sitemap = new Sitemap();
        LOGGER.log(Level.DEBUG, "Generating sitemap....");
        sitemapQueryService.genIndex(sitemap);
        sitemapQueryService.genDomains(sitemap);
        // sitemapQueryService.genArticles(sitemap);
        final String content = sitemap.toString();
        LOGGER.log(Level.DEBUG, "Generated sitemap");
        renderer.setContent(content);
    
<no_super_class>