code: @Deprecated
     public void write(Model project, Document document, OutputStream stream) throws java.io.IOException
     {
        updateModel(project, "project", new Counter(0), document.getRootElement());
  
        XMLOutputter outputter = new XMLOutputter();
        outputter.setFormat(Format.getPrettyFormat().setIndent("  ").setLineSeparator(LS));
        outputter.output(document, stream);
     }
docs: Method write.
  
  @param project
  @param stream
  @param document
  @deprecated