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 ) ; } }
Emit the supplied object to the specified writer escaping characters if needed .