public static void dumpAll ( Iterator < ? extends Object > data , Writer output ) { getSnakeYaml ( ) . dumpAll ( data , output ) ; }
Takes an Iterator of YAML API objects and writes a YAML String representing all of them .