docs: public void parse(String string) {
      if (string == null) {
        throw new NullPointerException("string is null");
      }
      int bufferSize = Math.max(MIN_BUFFER_SIZE, Math.min(DEFAULT_BUFFER_SIZE, string.length()));
      try {
        parse(new StringReader(string), bufferSize);
      } catch (IOException exception) {
        // StringReader does not throw IOException
        throw new RuntimeException(exception);
      }
    }