code: public static void emit(Object src, boolean escapeXml, JspWriter out) throws IOException {
          if (src instanceof Reader) {
              emit((Reader) src, escapeXml, out);
          } else {
              emit(String.valueOf(src), escapeXml, out);
          }
      }
docs: Emit the supplied object to the specified writer, escaping characters if needed.
  
  @param src       the object to write
  @param escapeXml if true, escape unsafe characters before writing
  @param out       the JspWriter to emit to
  @throws IOException if there was a problem emitting the content