public void dump(Object data,Writer output){
  List<Object> list=new ArrayList<Object>(1);
  list.add(data);
  dumpAll(list.iterator(),output,null);
}

public void dump ( Object data , Writer output ) { List < Object > list = new ArrayList < Object > ( 1 ) ; list . add ( data ) ; dumpAll ( list . iterator ( ) , output , null ) ; }
serialize a java object into a yaml stream .
