code: public static Config newConfigFromText(String text) {
          Config c = new Config();
          c.parseBuffer(new BufferedReader(new StringReader(text)));
          return c;
      }
docs: newConfigFromText create an empty configuration representation from text.
  
  @param text the model text.
  @return the constructor of Config.