code: public void write( IGeneratorSet generatorSet)
      {
      writer_.writeDeclaration();
  
      writer_
        .element( GENERATORS_TAG)
        .content( () ->
          {
          Arrays.stream( generatorSet.getGeneratorFunctions())
            .sorted()
            .forEach( function -> writeGenerator( function, generatorSet.getGenerator( function)));
          })
        .write();
      }
docs: Writes the given generator definition in the form of an XML document.