code: private void writeEmptyObject(Writer writer, int indentDepth, boolean contentOnly, boolean compact) throws IOException {
          if (logger.isLoggable(Level.FINER)) logger.entering(className, "writeEmptyObject(Writer, int, boolean, boolean)");
  
          if (!contentOnly) {
              if (!compact) {
                  writeIndention(writer, indentDepth);
                  writer.write("\"" + this.objectName + "\"");
                  writer.write(" : \"\"");
              } else {
                  writer.write("\"" + this.objectName + "\"");
                  writer.write(" : \"\"");
              }
  
          } else {
              if (!compact) {
                  writeIndention(writer, indentDepth);
                  writer.write("\"\"");
              } else {
                  writer.write("\"\"");
              }
          }
  
          if (logger.isLoggable(Level.FINER)) logger.exiting(className, "writeEmptyObject(Writer, int, boolean, boolean)");
      }
docs: Method to write an 'empty' XML tag, like <F/>
  @param writer The writer object to render the XML to.
  @param indentDepth How far to indent.
  @param contentOnly Whether or not to write the object name as part of the output
  @param compact Flag to denote whether to output in a nice indented format, or in a compact format.
  @throws IOException Trhown if an error occurs on write.