Java Library that loads xml define values into a given class