title: Using bindData method outside of controller
body: <p>I was wondering if anyone had an idea for the best way to provide the
  functionality of bindData() outside of my grails controllers. In my current
  project I have created several groovy classes to model objects returned by
  an api. In these classes I have a static method that parses xml and returns
  a List of objects of the class. I would like to skip all the type casting
  nonsense by using the bindData method in these classes. Any suggestions on
  how to do this would be appreciated.</p>