code: public void write(Model project, Document document, String encoding, OutputStreamWriter writer)
              throws java.io.IOException
     {
        Format format = Format.getRawFormat().setEncoding(encoding).setLineSeparator(LS);
        write(project, document, writer, format);
     }
docs: Method write.
  
  @param project
  @param writer
  @param document