public static void dumpAll(Iterator<? extends Object> data, Writer output) {
    getSnakeYaml().dumpAll(data, output);
  }
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.

@param data The list of YAML API objects.
@param output The writer to output the YAML String to.