code: public static void parse(DocListener document, String file) {
          XmlParser p = new XmlParser();
          p.go(document, file);
      }
docs: Parses a given file that validates with the iText DTD and writes the content to a document.
  @param document The document that will listen to the parser
  @param file The path to a file with the content