The DataReader<T> interface has a method that takes an element QName, an object, and a Class<?>.
Aegis doesn't have an implementation ... yet. I'm working on it. In JAXB, the code respects the Class, and presumably throws up if the Object isn't consistent with that class. Unless I hear otherwise, I'll try to arrange the same fate for the Aegis approach to the problem.
