code: public static <T> List<T> unmarshalCollection(Class<T> cl, String s) throws JAXBException {
      return unmarshalCollection(cl, new StringReader(s));
    }
docs: Converts the contents of the string to a List with objects of the given class.
  
  @param cl Type to be used
  @param s Input string
  @return List with objects of the given type