@Override
    public void endResponse() {
        writer.closeTag();
        writer.close();
    }
Returns the encoding of the query, or the encoding given by the template if none is set
container-search/src/main/java/com/yahoo/search/pagetemplates/result/PageTemplatesXmlRenderer.java