private void writeSeparator(boolean put_comma) throws IOException
  {
    if(root_element)
    {
      return;
    }
    if(put_comma && !first_element)
    {
      osw.write(',');
    }
    if(formatter.getNewLine())
    {
      osw.write("\n");
      int i;
      for(i = 0; i < level; i++)
      {
        osw.write(formatter.getIndentString());
      }
    } else
    {
      osw.write(' ');
    }
  }