code: public void endDocument()
              throws SAXException {
          try {
              out.flush();
              logger.debug("[Freezehandler]: End parsing of pom file");
          } catch (IOException e) {
              throw new SAXException("I/O error", e);
          }
      }
docs: Overrides <code>endDocument()</code> in
  <code>org.xml.sax.helpers.DefaultHandler</code>,
  which in turn implements <code>org.xml.sax.ContentHandler</code>.
  Called once at the end of document processing; no further
  callbacks will occur.