I want to make generic function that return Object representation of XML document (using JAXB). I need to pass \"class\" object to JAXBContext constructor, but how I can get it
try to pass the class itself, something like this
public readXmlToObject(String xmlFileName, Class class) {