docs: public static String asString( Example example )
      {
          StringWriter sw = new StringWriter();
          PrintWriter writer = new PrintWriter( sw );
          example.print( writer );
          return sw.toString();
      }