code: public final void taggedValue(String tag, Object value) throws IOException {
      startTag(tag);
      if (value == null) {
        write("null");
      } else {
        write(value.toString());
      }
      endTag(tag);
    }
docs: Write out a one-line XML tag with a Object datatype, for instance &lttag&gtobject&lt/tag&lt
  
  @param tag The name of the tag to be written
  
  @param value The data value to be written
  
  @throws IOException If an I/O error occurs while attempting to write the characters